Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.15/2.15, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001364, allocations: 180.4 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.31/2.31, allocations: 205.4 MB / 0.5772 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009526/0.0009522, allocations: 92.59 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005085, allocations: 12.72 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2099, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.336/7.546, allocations: 2.201 GB / 3.101 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/7.547, allocations: 98.55 kB / 3.101 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.128/9.675, allocations: 467.6 MB / 3.558 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/9.675, allocations: 0 / 3.558 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.648e-05/9.675, allocations: 18.75 kB / 3.558 GB, free: 210.7 MB / 0.8855 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.002816/9.678, allocations: 1.102 MB / 3.559 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/9.678, allocations: 10.78 kB / 3.559 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/9.679, allocations: 201.1 kB / 3.559 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/9.681, allocations: 0.7006 MB / 3.56 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/9.681, allocations: 40.34 kB / 3.56 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/9.682, allocations: 55.78 kB / 3.56 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/9.683, allocations: 0.6034 MB / 3.56 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/9.683, allocations: 6.844 kB / 3.56 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/9.683, allocations: 19.91 kB / 3.56 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/9.683, allocations: 24.72 kB / 3.56 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/9.684, allocations: 472.9 kB / 3.561 GB, free: 208.6 MB / 0.8855 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.003724/9.688, allocations: 2.412 MB / 3.563 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/9.689, allocations: 319.4 kB / 3.564 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/9.689, allocations: 205.3 kB / 3.564 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/9.69, allocations: 306.1 kB / 3.564 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/9.69, allocations: 38.5 kB / 3.564 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.076e-06/9.69, allocations: 3.312 kB / 3.564 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.001542/9.691, allocations: 0.5202 MB / 3.565 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/9.691, allocations: 59.34 kB / 3.565 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/9.692, allocations: 0.4911 MB / 3.565 GB, free: 204 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/9.692, allocations: 33.7 kB / 3.565 GB, free: 204 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/9.692, allocations: 326.5 kB / 3.565 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/9.693, allocations: 122.2 kB / 3.566 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/9.693, allocations: 8 kB / 3.566 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001079/9.693, allocations: 362.8 kB / 3.566 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/9.693, allocations: 144.7 kB / 3.566 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/9.694, allocations: 273.8 kB / 3.566 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/9.694, allocations: 187.2 kB / 3.566 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/9.694, allocations: 96 / 3.566 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001024/9.695, allocations: 482.5 kB / 3.567 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/9.695, allocations: 163.6 kB / 3.567 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/9.695, allocations: 4 kB / 3.567 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/9.695, allocations: 8 kB / 3.567 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/9.696, allocations: 99.88 kB / 3.567 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003722/9.697, allocations: 0.5976 MB / 3.568 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/9.698, allocations: 75.58 kB / 3.568 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/9.698, allocations: 20 kB / 3.568 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/9.698, allocations: 5.406 kB / 3.568 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008613/9.699, allocations: 387.9 kB / 3.568 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/9.699, allocations: 7.938 kB / 3.568 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/9.699, allocations: 4.281 kB / 3.568 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/9.699, allocations: 95.83 kB / 3.568 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/9.699, allocations: 4 kB / 3.568 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/9.7, allocations: 67.64 kB / 3.568 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/9.7, allocations: 20 kB / 3.568 GB, free: 200.5 MB / 0.8855 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.000487/9.701, allocations: 312.9 kB / 3.569 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/9.701, allocations: 59.28 kB / 3.569 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009639/9.702, allocations: 436.3 kB / 3.569 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/9.702, allocations: 4 kB / 3.569 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/9.702, allocations: 0 / 3.569 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007801/9.703, allocations: 0.6479 MB / 3.57 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/9.705, allocations: 1.199 MB / 3.571 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/9.705, allocations: 8.062 kB / 3.571 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008595/9.706, allocations: 91.83 kB / 3.571 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/9.706, allocations: 4 kB / 3.571 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/9.706, allocations: 8 kB / 3.571 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002635/9.706, allocations: 0.5937 MB / 3.572 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/9.706, allocations: 8.016 kB / 3.572 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/9.708, allocations: 0.7209 MB / 3.572 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/9.708, allocations: 184.4 kB / 3.573 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/9.708, allocations: 15.88 kB / 3.573 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008237/9.709, allocations: 47.81 kB / 3.573 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/9.709, allocations: 23.97 kB / 3.573 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/9.709, allocations: 19.98 kB / 3.573 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005576/9.71, allocations: 350.8 kB / 3.573 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/9.71, allocations: 0 / 3.573 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001872/9.712, allocations: 483.2 kB / 3.573 GB, free: 195.1 MB / 0.8855 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.002384/9.714, allocations: 1.37 MB / 3.575 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001826/9.716, allocations: 0.5747 MB / 3.575 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/9.716, allocations: 4 kB / 3.575 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/9.716, allocations: 189.3 kB / 3.576 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/9.72, allocations: 360.5 kB / 3.576 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/9.723, allocations: 1.68 MB / 3.578 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/9.723, allocations: 0.9417 MB / 3.578 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001203/9.724, allocations: 204.7 kB / 3.579 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/9.724, allocations: 51.42 kB / 3.579 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of SimCode: time 9.01e-07/9.725, allocations: 0 / 3.579 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.06038/9.785, allocations: 27.59 MB / 3.606 GB, free: 162.6 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)