Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 288.3 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 170.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.6306 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 89.16 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 16.02 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2113, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.5775/0.7888, allocations: 155.3 MB / 1.131 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009746/0.7987, allocations: 4.419 MB / 1.135 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.8005, allocations: 20.44 kB / 1.135 GB, free: 172 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.8025, allocations: 430.9 kB / 1.136 GB, free: 96 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00552/0.8081, allocations: 1.22 MB / 1.137 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.8112, allocations: 0.8451 MB / 1.138 GB, free: 15.99 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.8133, allocations: 1.117 MB / 1.139 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007986/0.8141, allocations: 0.5063 MB / 1.139 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.8158, allocations: 0.7261 MB / 1.14 GB, free: 15.4 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005308/0.8164, allocations: 375.8 kB / 1.141 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.8164, allocations: 28.66 kB / 1.141 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.8182, allocations: 0.6795 MB / 1.141 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.8185, allocations: 219.9 kB / 1.141 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.8187, allocations: 173.5 kB / 1.142 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.8198, allocations: 0.927 MB / 1.142 GB, free: 14.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8198, allocations: 0 / 1.142 GB, free: 14.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8198, allocations: 0 / 1.142 GB, free: 14.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.8198, allocations: 4 kB / 1.142 GB, free: 14.43 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.001591/0.8214, allocations: 0.9273 MB / 1.143 GB, free: 13.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8215, allocations: 8.531 kB / 1.143 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.8228, allocations: 208.7 kB / 1.144 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.8238, allocations: 0.5503 MB / 1.144 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.8238, allocations: 42.53 kB / 1.144 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.8239, allocations: 54.72 kB / 1.144 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009821/0.8249, allocations: 0.6191 MB / 1.145 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.825, allocations: 0 / 1.145 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.825, allocations: 21.38 kB / 1.145 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.8251, allocations: 20.97 kB / 1.145 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.8259, allocations: 496.5 kB / 1.145 GB, free: 12.98 MB / 0.698 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.003298/0.8292, allocations: 2.388 MB / 1.148 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.8298, allocations: 362.1 kB / 1.148 GB, free: 11.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003969/0.8302, allocations: 140 kB / 1.148 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.8303, allocations: 40.56 kB / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/0.8303, allocations: 0 / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001389/0.8317, allocations: 0.5472 MB / 1.149 GB, free: 10.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.8317, allocations: 54.91 kB / 1.149 GB, free: 10.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.8324, allocations: 494.9 kB / 1.149 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.8325, allocations: 34.14 kB / 1.149 GB, free: 10.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.8327, allocations: 317 kB / 1.15 GB, free: 10.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.8328, allocations: 135.4 kB / 1.15 GB, free: 10.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.8328, allocations: 8 kB / 1.15 GB, free: 10.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.833, allocations: 371.7 kB / 1.15 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.8332, allocations: 141.7 kB / 1.15 GB, free: 9.992 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.8336, allocations: 260.2 kB / 1.15 GB, free: 9.848 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.8339, allocations: 186.9 kB / 1.151 GB, free: 9.824 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8339, allocations: 1.281 kB / 1.151 GB, free: 9.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007494/0.8347, allocations: 476.1 kB / 1.151 GB, free: 9.703 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004049/0.8351, allocations: 0.8798 MB / 1.152 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.8351, allocations: 2.156 kB / 1.152 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.8352, allocations: 5.25 kB / 1.152 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.8358, allocations: 109.2 kB / 1.152 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004078/0.8362, allocations: 0.5912 MB / 1.153 GB, free: 8.164 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.8369, allocations: 76.25 kB / 1.153 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.837, allocations: 16.66 kB / 1.153 GB, free: 8.121 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.837, allocations: 5.281 kB / 1.153 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006517/0.8376, allocations: 400 kB / 1.153 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8377, allocations: 3.219 kB / 1.153 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.8377, allocations: 10.06 kB / 1.153 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.8381, allocations: 90.23 kB / 1.153 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8381, allocations: 4.5 kB / 1.153 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.8387, allocations: 64.98 kB / 1.153 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.8387, allocations: 20.45 kB / 1.153 GB, free: 8.004 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 () * 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.0004117/0.8391, allocations: 306.9 kB / 1.154 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.8392, allocations: 62.55 kB / 1.154 GB, free: 7.758 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.84, allocations: 448.5 kB / 1.154 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.84, allocations: 3.688 kB / 1.154 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.84, allocations: 1.094 kB / 1.154 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006832/0.8407, allocations: 0.6502 MB / 1.155 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.8427, allocations: 1.198 MB / 1.156 GB, free: 6.121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8428, allocations: 1.312 kB / 1.156 GB, free: 6.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.8433, allocations: 88.02 kB / 1.156 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.8433, allocations: 4.312 kB / 1.156 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.8433, allocations: 21.38 kB / 1.156 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003494/0.8437, allocations: 0.5979 MB / 1.157 GB, free: 5.484 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8437, allocations: 2.781 kB / 1.157 GB, free: 5.484 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.8447, allocations: 0.8074 MB / 1.157 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.8451, allocations: 184.2 kB / 1.158 GB, free: 4.715 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.8452, allocations: 13.61 kB / 1.158 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.8457, allocations: 49.56 kB / 1.158 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.8458, allocations: 20.66 kB / 1.158 GB, free: 4.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.8458, allocations: 14.38 kB / 1.158 GB, free: 4.672 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004453/0.8463, allocations: 352.8 kB / 1.158 GB, free: 4.461 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.913e-06/0.8463, allocations: 0 / 1.158 GB, free: 4.461 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001002/0.8473, allocations: 345.6 kB / 1.158 GB, free: 4.395 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 () * 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.0004438/0.8477, allocations: 182.2 kB / 1.158 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.8489, allocations: 0.5898 MB / 1.159 GB, free: 3.996 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.8489, allocations: 1.062 kB / 1.159 GB, free: 3.996 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.8493, allocations: 190.2 kB / 1.159 GB, free: 3.914 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.8509, allocations: 364.1 kB / 1.16 GB, free: 3.734 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.8532, allocations: 1.662 MB / 1.161 GB, free: 2.527 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.8538, allocations: 0.9531 MB / 1.162 GB, free: 1.699 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007474/0.8546, allocations: 202.2 kB / 1.162 GB, free: 1.609 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.8547, allocations: 45.44 kB / 1.162 GB, free: 1.602 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.8547, allocations: 0 / 1.162 GB, free: 1.602 MB / 0.698 GB Notification: Performance of Templates: time 0.01971/0.8744, allocations: 11.08 MB / 1.173 GB, free: 12.12 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)