Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.724/2.724, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001337/0.001337, allocations: 195.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.495/2.495, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008907/0.0008909, allocations: 102.8 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 12.19 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2643, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 1.031/1.295, allocations: 180.2 MB / 1.154 GB, free: 7.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02342/1.318, allocations: 10.13 MB / 1.164 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/1.321, allocations: 34.44 kB / 1.164 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/1.323, allocations: 373.7 kB / 1.165 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00585/1.329, allocations: 1.317 MB / 1.166 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004237/1.333, allocations: 0.8818 MB / 1.167 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006718/1.34, allocations: 3.157 MB / 1.17 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/1.342, allocations: 0.8879 MB / 1.171 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/1.347, allocations: 1.226 MB / 1.172 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/1.35, allocations: 0.8912 MB / 1.173 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004246/1.35, allocations: 57.73 kB / 1.173 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/1.355, allocations: 1.026 MB / 1.174 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001152/1.356, allocations: 447.2 kB / 1.174 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007867/1.357, allocations: 280.9 kB / 1.175 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005634/1.362, allocations: 1.63 MB / 1.176 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/1.363, allocations: 0 / 1.176 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.146e-06/1.363, allocations: 0.5938 kB / 1.176 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.342e-05/1.363, allocations: 0 / 1.176 GB, free: 8.141 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.006795/1.369, allocations: 1.453 MB / 1.178 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/1.37, allocations: 8.688 kB / 1.178 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/1.375, allocations: 323.1 kB / 1.178 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/1.379, allocations: 0.8953 MB / 1.179 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/1.379, allocations: 84.33 kB / 1.179 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/1.379, allocations: 108.3 kB / 1.179 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/1.382, allocations: 1.172 MB / 1.18 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/1.382, allocations: 0 / 1.18 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/1.382, allocations: 47.08 kB / 1.18 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/1.382, allocations: 34.44 kB / 1.18 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/1.385, allocations: 0.935 MB / 1.181 GB, free: 4.926 MB / 0.7136 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.009001/1.394, allocations: 4.712 MB / 1.186 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/1.396, allocations: 0.7328 MB / 1.186 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009568/1.397, allocations: 395.7 kB / 1.187 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009893/1.398, allocations: 331.2 kB / 1.187 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/1.398, allocations: 45.91 kB / 1.187 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.607e-06/1.398, allocations: 0 / 1.187 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.003153/1.401, allocations: 1.022 MB / 1.188 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.401, allocations: 57.31 kB / 1.188 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/1.403, allocations: 0.7861 MB / 1.189 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/1.403, allocations: 42.61 kB / 1.189 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/1.403, allocations: 0.5357 MB / 1.189 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/1.404, allocations: 245.7 kB / 1.19 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/1.404, allocations: 14.97 kB / 1.19 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.404, allocations: 341.8 kB / 1.19 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008673/1.405, allocations: 287.4 kB / 1.19 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.406, allocations: 0.5157 MB / 1.191 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.407, allocations: 371.5 kB / 1.191 GB, free: 13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.407, allocations: 0 / 1.191 GB, free: 13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002519/1.41, allocations: 0.9096 MB / 1.192 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/1.41, allocations: 220.2 kB / 1.192 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.41, allocations: 5 kB / 1.192 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/1.41, allocations: 12.02 kB / 1.192 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/1.411, allocations: 183.6 kB / 1.192 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005222/1.412, allocations: 0.6022 MB / 1.193 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/1.414, allocations: 131.3 kB / 1.193 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.414, allocations: 32.61 kB / 1.193 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.414, allocations: 5.688 kB / 1.193 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002078/1.416, allocations: 0.7969 MB / 1.194 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.416, allocations: 4.562 kB / 1.194 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.416, allocations: 8.719 kB / 1.194 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.417, allocations: 167.3 kB / 1.194 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/1.417, allocations: 16.02 kB / 1.194 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.419, allocations: 129.8 kB / 1.194 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/1.419, allocations: 28.62 kB / 1.194 GB, free: 11.02 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.000873/1.42, allocations: 411.7 kB / 1.195 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/1.42, allocations: 97.25 kB / 1.195 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/1.423, allocations: 0.8047 MB / 1.196 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.423, allocations: 5.781 kB / 1.196 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.423, allocations: 0 / 1.196 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/1.424, allocations: 0.8938 MB / 1.196 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006039/1.43, allocations: 2.176 MB / 1.199 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.431, allocations: 0 / 1.199 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/1.432, allocations: 164.1 kB / 1.199 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/1.432, allocations: 6.188 kB / 1.199 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-05/1.432, allocations: 19.56 kB / 1.199 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/1.433, allocations: 0.5975 MB / 1.199 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.433, allocations: 6.031 kB / 1.199 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/1.436, allocations: 1.329 MB / 1.201 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008517/1.437, allocations: 257 kB / 1.201 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/1.437, allocations: 19.91 kB / 1.201 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.438, allocations: 69.11 kB / 1.201 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.438, allocations: 46.23 kB / 1.201 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/1.438, allocations: 28.45 kB / 1.201 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001103/1.439, allocations: 0.5309 MB / 1.202 GB, free: 6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.439, allocations: 0 / 1.202 GB, free: 6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002288/1.442, allocations: 0.5668 MB / 1.202 GB, free: 5.855 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (69): * Single equations (assignments): 68 * 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.00081/1.443, allocations: 238.8 kB / 1.202 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003737/1.446, allocations: 1.165 MB / 1.204 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.455e-06/1.446, allocations: 0 / 1.204 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.447, allocations: 379.6 kB / 1.204 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/1.452, allocations: 486.6 kB / 1.204 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/1.458, allocations: 2.781 MB / 1.207 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.459, allocations: 1.175 MB / 1.208 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002169/1.462, allocations: 360 kB / 1.209 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/1.462, allocations: 79.42 kB / 1.209 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/1.462, allocations: 0 / 1.209 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.05433/1.516, allocations: 16.61 MB / 1.225 GB, free: 14.74 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)