Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.679/1.679, allocations: 252 MB / 0.5102 GB, free: 4.781 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000657/0.0006574, allocations: 12 kB / 0.6243 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.5749, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1935/0.7685, allocations: 170.1 MB / 0.8942 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007859/0.7764, allocations: 4.346 MB / 0.8985 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009865/0.7774, allocations: 23.81 kB / 0.8985 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.7785, allocations: 282.2 kB / 0.8988 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.7814, allocations: 0.9953 MB / 0.8998 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.7833, allocations: 0.598 MB / 0.9003 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.786, allocations: 2.358 MB / 0.9026 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.7868, allocations: 0.4952 MB / 0.9031 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.7892, allocations: 0.8636 MB / 0.904 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.7903, allocations: 0.5759 MB / 0.9045 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.7904, allocations: 28 kB / 0.9046 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.7929, allocations: 0.873 MB / 0.9054 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.7932, allocations: 251.3 kB / 0.9057 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.7935, allocations: 173.3 kB / 0.9058 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.795, allocations: 1.021 MB / 0.9068 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.795, allocations: 7.938 kB / 0.9068 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7951, allocations: 4 kB / 0.9068 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.7951, allocations: 0 / 0.9068 GB, free: 3.918 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001759/0.7968, allocations: 0.9465 MB / 0.9077 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.7969, allocations: 12.03 kB / 0.9078 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.7982, allocations: 198.9 kB / 0.908 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7992, allocations: 0.5601 MB / 0.9085 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.7993, allocations: 45.31 kB / 0.9085 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.7994, allocations: 56 kB / 0.9086 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.8005, allocations: 0.6245 MB / 0.9092 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.8006, allocations: 0 / 0.9092 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.8006, allocations: 20 kB / 0.9092 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.8007, allocations: 25.31 kB / 0.9092 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.8015, allocations: 0.4891 MB / 0.9097 GB, free: 0.8398 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5101/1.312, allocations: 2.39 MB / 0.9121 GB, free: 182 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/1.312, allocations: 354 kB / 0.9124 GB, free: 182 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.313, allocations: 211.1 kB / 0.9126 GB, free: 182 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/1.313, allocations: 320.7 kB / 0.9129 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.313, allocations: 37.31 kB / 0.9129 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=36): time 2.324e-06/1.313, allocations: 2.719 kB / 0.9129 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36): time 0.001208/1.314, allocations: 0.5295 MB / 0.9135 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/1.314, allocations: 55.08 kB / 0.9135 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006276/1.315, allocations: 0.493 MB / 0.914 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/1.315, allocations: 36.92 kB / 0.914 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/1.315, allocations: 317.8 kB / 0.9143 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/1.315, allocations: 132.9 kB / 0.9145 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/1.315, allocations: 9.469 kB / 0.9145 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.316, allocations: 369.1 kB / 0.9148 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/1.316, allocations: 140 kB / 0.915 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/1.316, allocations: 249.6 kB / 0.9152 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/1.316, allocations: 185 kB / 0.9154 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.316, allocations: 1.094 kB / 0.9154 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008154/1.317, allocations: 476.9 kB / 0.9158 GB, free: 180 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/1.317, allocations: 155.1 kB / 0.916 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.317, allocations: 4.141 kB / 0.916 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/1.317, allocations: 4.312 kB / 0.916 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/1.318, allocations: 111.1 kB / 0.9161 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002774/1.318, allocations: 0.598 MB / 0.9167 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/1.319, allocations: 66.36 kB / 0.9167 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.319, allocations: 18.38 kB / 0.9167 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/1.319, allocations: 4.281 kB / 0.9168 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006835/1.32, allocations: 391.4 kB / 0.9171 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/1.32, allocations: 6.469 kB / 0.9171 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/1.32, allocations: 4.938 kB / 0.9171 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/1.32, allocations: 91.19 kB / 0.9172 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.32, allocations: 6.016 kB / 0.9172 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/1.321, allocations: 69.48 kB / 0.9173 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.321, allocations: 18.53 kB / 0.9173 GB, free: 179 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000383/1.321, allocations: 306.5 kB / 0.9176 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/1.321, allocations: 61.08 kB / 0.9177 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008124/1.322, allocations: 446.2 kB / 0.9181 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.322, allocations: 7.25 kB / 0.9181 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.322, allocations: 0 / 0.9181 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006019/1.323, allocations: 0.6445 MB / 0.9187 GB, free: 178 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/1.325, allocations: 1.208 MB / 0.9199 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.325, allocations: 1.719 kB / 0.9199 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/1.325, allocations: 93.33 kB / 0.92 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/1.325, allocations: 7.922 kB / 0.92 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/1.325, allocations: 9.734 kB / 0.92 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002145/1.325, allocations: 0.5946 MB / 0.9206 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.325, allocations: 3.578 kB / 0.9206 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.326, allocations: 0.741 MB / 0.9213 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/1.327, allocations: 176.9 kB / 0.9215 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/1.327, allocations: 13.67 kB / 0.9215 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/1.327, allocations: 49.61 kB / 0.9216 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/1.327, allocations: 27.77 kB / 0.9216 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/1.327, allocations: 15.95 kB / 0.9216 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005602/1.328, allocations: 358.9 kB / 0.9219 GB, free: 176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.9e-07/1.328, allocations: 0 / 0.9219 GB, free: 176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001389/1.329, allocations: 351 kB / 0.9223 GB, free: 175.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005106/1.33, allocations: 192.7 kB / 0.9225 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00166/1.331, allocations: 0.5799 MB / 0.923 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.331, allocations: 1.094 kB / 0.923 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/1.332, allocations: 186.7 kB / 0.9232 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.334, allocations: 356.7 kB / 0.9235 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/1.337, allocations: 1.678 MB / 0.9252 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/1.337, allocations: 0.9419 MB / 0.9261 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009093/1.338, allocations: 206 kB / 0.9263 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/1.338, allocations: 45.45 kB / 0.9263 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.442e-06/1.338, allocations: 1.375 kB / 0.9263 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.01854/1.357, allocations: 11.11 MB / 0.9372 GB, free: 165.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: