Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001001/0.001001, allocations: 176.5 kB / 372 MB, free: 10.28 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.384/1.384, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007105/0.0007104, allocations: 94.34 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003588, allocations: 12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6299/0.8162, allocations: 180.2 MB / 1.156 GB, free: 6.949 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.8303, allocations: 10.13 MB / 1.165 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.8318, allocations: 37.47 kB / 1.165 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.8331, allocations: 373.3 kB / 1.166 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.8373, allocations: 1.328 MB / 1.167 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.8404, allocations: 0.8753 MB / 1.168 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004573/0.8449, allocations: 3.162 MB / 1.171 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.8466, allocations: 0.8801 MB / 1.172 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.85, allocations: 1.227 MB / 1.173 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.8519, allocations: 0.8946 MB / 1.174 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.8521, allocations: 57.53 kB / 1.174 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/0.8552, allocations: 1.027 MB / 1.175 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.8559, allocations: 454.7 kB / 1.175 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006053/0.8565, allocations: 273.9 kB / 1.176 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.859, allocations: 1.626 MB / 1.177 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.859, allocations: 1.875 kB / 1.177 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.416e-06/0.859, allocations: 0 / 1.177 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.8591, allocations: 3.938 kB / 1.177 GB, free: 7.172 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.002437/0.8615, allocations: 1.452 MB / 1.179 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.8615, allocations: 10.88 kB / 1.179 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.8632, allocations: 318.5 kB / 1.179 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.8649, allocations: 0.8915 MB / 1.18 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.865, allocations: 85.38 kB / 1.18 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.8651, allocations: 110.8 kB / 1.18 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.867, allocations: 1.171 MB / 1.181 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.8671, allocations: 0 / 1.181 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.8672, allocations: 43.19 kB / 1.181 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.8672, allocations: 34.56 kB / 1.181 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.8688, allocations: 0.9359 MB / 1.182 GB, free: 3.965 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.005227/0.8741, allocations: 4.712 MB / 1.187 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.8752, allocations: 0.7319 MB / 1.188 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.8758, allocations: 397.2 kB / 1.188 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006279/0.8764, allocations: 330.8 kB / 1.188 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.8765, allocations: 38.38 kB / 1.188 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.996e-06/0.8765, allocations: 3.938 kB / 1.188 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001905/0.8784, allocations: 1.019 MB / 1.189 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.8784, allocations: 59.81 kB / 1.189 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.8794, allocations: 0.7897 MB / 1.19 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.8795, allocations: 44.61 kB / 1.19 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.8799, allocations: 0.5334 MB / 1.191 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.8801, allocations: 242.8 kB / 1.191 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.8801, allocations: 13.78 kB / 1.191 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8803, allocations: 343.1 kB / 1.191 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.8808, allocations: 290.8 kB / 1.192 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.8814, allocations: 0.5125 MB / 1.192 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.882, allocations: 368.8 kB / 1.192 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.882, allocations: 4 kB / 1.192 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001364/0.8834, allocations: 0.9102 MB / 1.193 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.8836, allocations: 222.2 kB / 1.194 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8836, allocations: 2.656 kB / 1.194 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.8836, allocations: 10.62 kB / 1.194 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/0.8845, allocations: 183.1 kB / 1.194 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003561/0.8848, allocations: 0.6042 MB / 1.194 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/0.8858, allocations: 131 kB / 1.194 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.8859, allocations: 32.61 kB / 1.194 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.8859, allocations: 5.844 kB / 1.194 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/0.8871, allocations: 0.7923 MB / 1.195 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8872, allocations: 7.484 kB / 1.195 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.8872, allocations: 10.88 kB / 1.195 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.8878, allocations: 172.8 kB / 1.195 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.8879, allocations: 18.67 kB / 1.195 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.8887, allocations: 113.7 kB / 1.196 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.8887, allocations: 43.31 kB / 1.196 GB, free: 10.06 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.0006275/0.8894, allocations: 402.7 kB / 1.196 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.8895, allocations: 100.2 kB / 1.196 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.8908, allocations: 0.8027 MB / 1.197 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.8909, allocations: 9 kB / 1.197 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8909, allocations: 0 / 1.197 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.892, allocations: 0.8887 MB / 1.198 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.8954, allocations: 2.176 MB / 1.2 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.8955, allocations: 14.69 kB / 1.2 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007359/0.8962, allocations: 156.4 kB / 1.2 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.8962, allocations: 2.875 kB / 1.2 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.8963, allocations: 19.19 kB / 1.2 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003655/0.8967, allocations: 0.5932 MB / 1.201 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.8967, allocations: 7 kB / 1.201 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.8984, allocations: 1.334 MB / 1.202 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.8989, allocations: 256.5 kB / 1.202 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.899, allocations: 14.25 kB / 1.202 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.8997, allocations: 77.19 kB / 1.202 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.8998, allocations: 46.17 kB / 1.202 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.8998, allocations: 32.7 kB / 1.202 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007115/0.9005, allocations: 0.5389 MB / 1.203 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9006, allocations: 0 / 1.203 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001534/0.9021, allocations: 0.5597 MB / 1.203 GB, free: 4.656 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.000636/0.9027, allocations: 228.4 kB / 1.204 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002344/0.9051, allocations: 1.169 MB / 1.205 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9051, allocations: 192 / 1.205 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007676/0.9059, allocations: 382.8 kB / 1.205 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.9097, allocations: 489.3 kB / 1.206 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.9139, allocations: 2.77 MB / 1.208 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.9146, allocations: 1.167 MB / 1.209 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001252/0.9159, allocations: 360 kB / 1.21 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.9161, allocations: 87.42 kB / 1.21 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/0.9161, allocations: 0 / 1.21 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.02934/0.9454, allocations: 16.63 MB / 1.226 GB, free: 13.56 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)