Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5349/0.5349, allocations: 92 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 223.2 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008986, allocations: 96.28 kB / 427.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 72.31 MB / 0.5689 GB, free: 1.887 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.412/5.568, allocations: 1.931 GB / 2.5 GB, free: 151 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004706/5.569, allocations: 99.62 kB / 2.5 GB, free: 151 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.04/8.609, allocations: 0.6389 GB / 3.139 GB, free: 98.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/8.609, allocations: 0 / 3.139 GB, free: 98.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002306/8.609, allocations: 39.12 kB / 3.139 GB, free: 98.59 MB / 0.6198 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.005472/8.614, allocations: 1.649 MB / 3.141 GB, free: 97.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/8.614, allocations: 9.062 kB / 3.141 GB, free: 97.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/8.617, allocations: 314.9 kB / 3.141 GB, free: 97.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/8.62, allocations: 1.199 MB / 3.142 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/8.62, allocations: 81.09 kB / 3.142 GB, free: 97.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/8.62, allocations: 108.9 kB / 3.143 GB, free: 97.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/8.623, allocations: 1.149 MB / 3.144 GB, free: 97.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/8.623, allocations: 1.281 kB / 3.144 GB, free: 97.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/8.623, allocations: 54.2 kB / 3.144 GB, free: 97.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/8.623, allocations: 40.7 kB / 3.144 GB, free: 97.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/8.624, allocations: 0.9152 MB / 3.145 GB, free: 97.48 MB / 0.6198 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.00615/8.631, allocations: 4.718 MB / 3.149 GB, free: 94.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/8.632, allocations: 0.7047 MB / 3.15 GB, free: 94.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005312/8.632, allocations: 314.2 kB / 3.15 GB, free: 94.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/8.632, allocations: 40.91 kB / 3.15 GB, free: 94.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 3.677e-06/8.632, allocations: 2.906 kB / 3.15 GB, free: 94.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002163/8.635, allocations: 0.9803 MB / 3.151 GB, free: 94.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/8.635, allocations: 110.5 kB / 3.151 GB, free: 94.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/8.636, allocations: 0.6913 MB / 3.152 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/8.636, allocations: 46.83 kB / 3.152 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/8.636, allocations: 0.5308 MB / 3.153 GB, free: 93.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/8.637, allocations: 240.8 kB / 3.153 GB, free: 93.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/8.637, allocations: 17.78 kB / 3.153 GB, free: 93.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/8.637, allocations: 342.3 kB / 3.153 GB, free: 93.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/8.637, allocations: 279.4 kB / 3.153 GB, free: 93.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/8.638, allocations: 0.5143 MB / 3.154 GB, free: 93.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/8.638, allocations: 366.1 kB / 3.154 GB, free: 93.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/8.638, allocations: 1.219 kB / 3.154 GB, free: 93.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001432/8.64, allocations: 0.8918 MB / 3.155 GB, free: 93.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004217/8.64, allocations: 1.75 MB / 3.157 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/8.64, allocations: 3.375 kB / 3.157 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/8.64, allocations: 14.34 kB / 3.157 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/8.641, allocations: 173.4 kB / 3.157 GB, free: 91.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003221/8.642, allocations: 0.6028 MB / 3.158 GB, free: 90.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/8.643, allocations: 153.7 kB / 3.158 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/8.643, allocations: 27.88 kB / 3.158 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/8.643, allocations: 2.75 kB / 3.158 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001142/8.644, allocations: 0.7777 MB / 3.159 GB, free: 90.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/8.644, allocations: 10 kB / 3.159 GB, free: 90.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/8.644, allocations: 14.05 kB / 3.159 GB, free: 90.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/8.645, allocations: 172.2 kB / 3.159 GB, free: 90.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/8.645, allocations: 14.34 kB / 3.159 GB, free: 90.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009864/8.646, allocations: 137.7 kB / 3.159 GB, free: 90.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/8.646, allocations: 39.53 kB / 3.159 GB, free: 90.69 MB / 0.6198 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 (95): * Single equations (assignments): 94 * 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.0007657/8.646, allocations: 405.4 kB / 3.159 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/8.647, allocations: 95.66 kB / 3.159 GB, free: 90.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/8.648, allocations: 0.7854 MB / 3.16 GB, free: 90.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/8.648, allocations: 10.23 kB / 3.16 GB, free: 90.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/8.648, allocations: 0 / 3.16 GB, free: 90.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009301/8.649, allocations: 0.8614 MB / 3.161 GB, free: 90.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/8.652, allocations: 2.093 MB / 3.163 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/8.652, allocations: 12.22 kB / 3.163 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007252/8.653, allocations: 151.2 kB / 3.163 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/8.653, allocations: 2.844 kB / 3.163 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/8.653, allocations: 25.28 kB / 3.163 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002252/8.653, allocations: 0.5957 MB / 3.164 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/8.653, allocations: 4.891 kB / 3.164 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/8.655, allocations: 1.36 MB / 3.165 GB, free: 88.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/8.656, allocations: 262 kB / 3.165 GB, free: 88.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/8.656, allocations: 17.19 kB / 3.165 GB, free: 88.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/8.656, allocations: 78.69 kB / 3.166 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/8.656, allocations: 40.12 kB / 3.166 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/8.657, allocations: 25.06 kB / 3.166 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006715/8.657, allocations: 0.5473 MB / 3.166 GB, free: 88.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/8.657, allocations: 0 / 3.166 GB, free: 88.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002443/8.66, allocations: 0.7449 MB / 3.167 GB, free: 88.21 MB / 0.6198 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (68): * Single equations (assignments): 67 * 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.002893/8.663, allocations: 1.858 MB / 3.169 GB, free: 87.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002146/8.665, allocations: 1.134 MB / 3.17 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/8.665, allocations: 0 / 3.17 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005249/8.665, allocations: 358.8 kB / 3.17 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/8.668, allocations: 478 kB / 3.171 GB, free: 87.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/8.671, allocations: 2.748 MB / 3.173 GB, free: 86.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/8.672, allocations: 1.2 MB / 3.174 GB, free: 85.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001247/8.673, allocations: 340.5 kB / 3.175 GB, free: 85.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/8.674, allocations: 79.95 kB / 3.175 GB, free: 85.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/8.674, allocations: 0 / 3.175 GB, free: 85.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.05456/8.728, allocations: 37.99 MB / 3.212 GB, free: 84.18 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)