Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7543/0.7543, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009811/0.0009812, allocations: 189 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008266, allocations: 103.8 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002039, allocations: 265.4 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.409e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4551, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.144/5.599, allocations: 1.889 GB / 2.653 GB, free: 117.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/5.599, allocations: 95.44 kB / 2.654 GB, free: 117.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.883/7.482, allocations: 487.5 MB / 3.13 GB, free: 155.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/7.482, allocations: 0 / 3.13 GB, free: 155.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.657e-05/7.482, allocations: 24.52 kB / 3.13 GB, free: 155.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002604/7.485, allocations: 0.9936 MB / 3.131 GB, free: 154.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/7.485, allocations: 5.969 kB / 3.131 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/7.486, allocations: 199.9 kB / 3.131 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/7.489, allocations: 0.9065 MB / 3.132 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/7.489, allocations: 42.66 kB / 3.132 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/7.489, allocations: 59.97 kB / 3.132 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009971/7.49, allocations: 0.577 MB / 3.132 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/7.49, allocations: 3.469 kB / 3.132 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/7.49, allocations: 22.72 kB / 3.132 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/7.49, allocations: 19.78 kB / 3.132 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/7.491, allocations: 469.8 kB / 3.133 GB, free: 154.6 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002608/7.493, allocations: 2.387 MB / 3.135 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/7.494, allocations: 329.2 kB / 3.135 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/7.494, allocations: 203.5 kB / 3.136 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/7.495, allocations: 305.6 kB / 3.136 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/7.495, allocations: 34.5 kB / 3.136 GB, free: 152.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 4.368e-06/7.495, allocations: 3.938 kB / 3.136 GB, free: 152.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.0008295/7.495, allocations: 425.6 kB / 3.136 GB, free: 152.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/7.496, allocations: 58.47 kB / 3.136 GB, free: 152.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/7.496, allocations: 433.4 kB / 3.137 GB, free: 152.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/7.496, allocations: 33.11 kB / 3.137 GB, free: 152.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/7.496, allocations: 315.5 kB / 3.137 GB, free: 152.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/7.496, allocations: 135 kB / 3.137 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/7.496, allocations: 7.062 kB / 3.137 GB, free: 152.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/7.496, allocations: 360.1 kB / 3.138 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/7.497, allocations: 139.2 kB / 3.138 GB, free: 152.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/7.497, allocations: 278 kB / 3.138 GB, free: 152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/7.497, allocations: 184.9 kB / 3.138 GB, free: 152 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/7.497, allocations: 3.094 kB / 3.138 GB, free: 152 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005881/7.498, allocations: 470.9 kB / 3.139 GB, free: 151.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/7.498, allocations: 0.8828 MB / 3.14 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/7.498, allocations: 3.875 kB / 3.14 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/7.498, allocations: 7.375 kB / 3.14 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/7.498, allocations: 90.81 kB / 3.14 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002748/7.499, allocations: 0.6015 MB / 3.14 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/7.499, allocations: 72.2 kB / 3.14 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/7.499, allocations: 15.59 kB / 3.14 GB, free: 150.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/7.499, allocations: 3.938 kB / 3.14 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005066/7.5, allocations: 389.7 kB / 3.141 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/7.5, allocations: 6.938 kB / 3.141 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/7.5, allocations: 3.781 kB / 3.141 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/7.5, allocations: 88.88 kB / 3.141 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/7.5, allocations: 7.453 kB / 3.141 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/7.501, allocations: 68.31 kB / 3.141 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/7.501, allocations: 18.45 kB / 3.141 GB, free: 150.3 MB / 0.698 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 () * 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.0001042/7.501, allocations: 138 kB / 3.141 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/7.501, allocations: 55.53 kB / 3.141 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/7.502, allocations: 431.3 kB / 3.142 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/7.502, allocations: 7.531 kB / 3.142 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/7.502, allocations: 3.969 kB / 3.142 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004558/7.502, allocations: 0.6478 MB / 3.142 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/7.504, allocations: 1.208 MB / 3.143 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/7.504, allocations: 0 / 3.143 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/7.504, allocations: 89.97 kB / 3.143 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/7.504, allocations: 3.719 kB / 3.143 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/7.504, allocations: 14.28 kB / 3.143 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001779/7.504, allocations: 0.5925 MB / 3.144 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/7.504, allocations: 0 / 3.144 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/7.505, allocations: 0.8097 MB / 3.145 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/7.505, allocations: 179.4 kB / 3.145 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/7.505, allocations: 12.22 kB / 3.145 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/7.506, allocations: 38.31 kB / 3.145 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/7.506, allocations: 27.14 kB / 3.145 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/7.506, allocations: 11.28 kB / 3.145 GB, free: 148.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003251/7.506, allocations: 346.5 kB / 3.145 GB, free: 148.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/7.506, allocations: 3.938 kB / 3.145 GB, free: 148.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001239/7.507, allocations: 484.6 kB / 3.146 GB, free: 148.1 MB / 0.698 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 () * 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.001674/7.509, allocations: 1.387 MB / 3.147 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009492/7.51, allocations: 0.5831 MB / 3.148 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/7.51, allocations: 2.812 kB / 3.148 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/7.51, allocations: 180.6 kB / 3.148 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/7.512, allocations: 355.8 kB / 3.148 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/7.513, allocations: 1.079 MB / 3.149 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/7.514, allocations: 0.9519 MB / 3.15 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007985/7.515, allocations: 252.5 kB / 3.151 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/7.515, allocations: 42.09 kB / 3.151 GB, free: 146.6 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/7.515, allocations: 0 / 3.151 GB, free: 146.6 MB / 0.698 GB Notification: Performance of Templates: time 0.0378/7.552, allocations: 32.19 MB / 3.182 GB, free: 125.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)