Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.001241/0.001241, allocations: 180.5 kB / 376.9 MB, free: 1.82 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.448/1.448, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008892/0.0008891, allocations: 103.2 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2553, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6794/0.9348, allocations: 195.7 MB / 1.173 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.951, allocations: 10.96 MB / 1.184 GB, free: 332 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.9532, allocations: 40.41 kB / 1.184 GB, free: 316 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.9549, allocations: 450.6 kB / 1.185 GB, free: 56 kB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004828/0.9597, allocations: 1.667 MB / 1.186 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.963, allocations: 1.052 MB / 1.187 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004236/0.9673, allocations: 3.74 MB / 1.191 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.9688, allocations: 1.029 MB / 1.192 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004579/0.9734, allocations: 1.467 MB / 1.193 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.9754, allocations: 0.9932 MB / 1.194 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.9755, allocations: 70.25 kB / 1.194 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.9792, allocations: 1.914 MB / 1.196 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.9798, allocations: 479.7 kB / 1.197 GB, free: 11 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009299/0.9807, allocations: 0.6511 MB / 1.197 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.9846, allocations: 2.365 MB / 1.2 GB, free: 9.781 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9847, allocations: 5.156 kB / 1.2 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9847, allocations: 0 / 1.2 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.9847, allocations: 0 / 1.2 GB, free: 9.777 MB / 0.7917 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.003371/0.9881, allocations: 1.693 MB / 1.201 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.9881, allocations: 9.156 kB / 1.201 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.9899, allocations: 321.1 kB / 1.202 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.9917, allocations: 0.8603 MB / 1.202 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.9918, allocations: 76.62 kB / 1.202 GB, free: 8.016 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.992, allocations: 101.5 kB / 1.203 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.994, allocations: 1.185 MB / 1.204 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.9941, allocations: 0 / 1.204 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.9942, allocations: 37.94 kB / 1.204 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/0.9943, allocations: 44.12 kB / 1.204 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.9959, allocations: 0.9321 MB / 1.205 GB, free: 7.137 MB / 0.7917 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.006142/1.002, allocations: 4.709 MB / 1.209 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.003, allocations: 0.7216 MB / 1.21 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/1.004, allocations: 396.8 kB / 1.21 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/1.005, allocations: 314.8 kB / 1.211 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/1.005, allocations: 43.75 kB / 1.211 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=68): time 3.436e-06/1.005, allocations: 0 / 1.211 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of matching and sorting (n=68): time 0.00221/1.007, allocations: 0.9966 MB / 1.212 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/1.007, allocations: 59.09 kB / 1.212 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.008, allocations: 0.7919 MB / 1.213 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/1.008, allocations: 46.08 kB / 1.213 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/1.009, allocations: 0.5265 MB / 1.213 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.009, allocations: 245.1 kB / 1.213 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/1.009, allocations: 150.5 kB / 1.213 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.009, allocations: 344.2 kB / 1.214 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/1.01, allocations: 296.2 kB / 1.214 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/1.01, allocations: 0.5067 MB / 1.215 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.012, allocations: 0.786 MB / 1.215 GB, free: 104 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.012, allocations: 5.5 kB / 1.215 GB, free: 100 kB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001664/1.013, allocations: 0.9047 MB / 1.216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.013, allocations: 14.94 kB / 1.216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.013, allocations: 5.5 kB / 1.216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.013, allocations: 8.812 kB / 1.216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/1.014, allocations: 174.6 kB / 1.216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/1.015, allocations: 0.6055 MB / 1.217 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.016, allocations: 129.1 kB / 1.217 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.016, allocations: 36.47 kB / 1.217 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001098/1.017, allocations: 0.5414 MB / 1.218 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007357/1.018, allocations: 0.5001 MB / 1.218 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001235/1.019, allocations: 0.7865 MB / 1.219 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/1.019, allocations: 1.531 kB / 1.219 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001706/1.021, allocations: 0.9066 MB / 1.22 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.021, allocations: 7.734 kB / 1.22 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.021, allocations: 4.938 kB / 1.22 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.021, allocations: 16.31 kB / 1.22 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/1.022, allocations: 170.1 kB / 1.22 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/1.022, allocations: 10.39 kB / 1.22 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.023, allocations: 110 kB / 1.22 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/1.023, allocations: 34.97 kB / 1.22 GB, free: 13.53 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002958/1.023, allocations: 233.3 kB / 1.22 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/1.023, allocations: 100.8 kB / 1.221 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/1.025, allocations: 0.7904 MB / 1.221 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.025, allocations: 7.672 kB / 1.221 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.025, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/1.026, allocations: 0.8772 MB / 1.222 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/1.031, allocations: 2.132 MB / 1.224 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.031, allocations: 3.453 kB / 1.224 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/1.031, allocations: 157.8 kB / 1.224 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.031, allocations: 5.188 kB / 1.224 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/1.031, allocations: 18.08 kB / 1.224 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003677/1.032, allocations: 0.6019 MB / 1.225 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.032, allocations: 2.969 kB / 1.225 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.052, allocations: 8.002 MB / 1.233 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/1.052, allocations: 261.9 kB / 1.233 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.052, allocations: 16.06 kB / 1.233 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/1.053, allocations: 71.91 kB / 1.233 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.053, allocations: 48.92 kB / 1.233 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/1.053, allocations: 22.92 kB / 1.233 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009402/1.054, allocations: 0.5399 MB / 1.234 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.3e-07/1.054, allocations: 0 / 1.234 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00399/1.058, allocations: 0.8852 MB / 1.235 GB, free: 6.078 MB / 0.8073 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006879/1.059, allocations: 239 kB / 1.235 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002462/1.061, allocations: 1.154 MB / 1.236 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.061, allocations: 0 / 1.236 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006375/1.062, allocations: 375.4 kB / 1.236 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.065, allocations: 493.2 kB / 1.237 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/1.07, allocations: 3.142 MB / 1.24 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/1.071, allocations: 1.193 MB / 1.241 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001566/1.072, allocations: 377.9 kB / 1.241 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/1.073, allocations: 88.89 kB / 1.241 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/1.073, allocations: 0 / 1.241 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of Templates: time 0.03567/1.108, allocations: 20.08 MB / 1.261 GB, free: 5.129 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)