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.844/1.844, allocations: 288.3 MB / 303.2 MB, free: 8.055 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.001202/0.001202, allocations: 185 kB / 371.9 MB, free: 10.3 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.685/1.685, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.001308/0.001308, allocations: 96.23 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 16.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2348, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7161/0.9509, allocations: 164.1 MB / 1.14 GB, free: 15.65 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.9702, allocations: 9.541 MB / 1.149 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.9723, allocations: 35.91 kB / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.9746, allocations: 0.4992 MB / 1.15 GB, free: 9.957 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006832/0.9814, allocations: 1.566 MB / 1.151 GB, free: 8.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005132/0.9866, allocations: 1.134 MB / 1.152 GB, free: 7.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004928/0.9915, allocations: 1.605 MB / 1.154 GB, free: 6.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.9938, allocations: 0.898 MB / 1.155 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/0.9981, allocations: 1.12 MB / 1.156 GB, free: 5.609 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/1, allocations: 0.6458 MB / 1.156 GB, free: 5.227 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/1, allocations: 50.56 kB / 1.156 GB, free: 5.227 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/1.003, allocations: 0.8156 MB / 1.157 GB, free: 4.871 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006732/1.004, allocations: 416.2 kB / 1.158 GB, free: 4.625 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006356/1.005, allocations: 273.3 kB / 1.158 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/1.008, allocations: 1.515 MB / 1.159 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.008, allocations: 1.156 kB / 1.159 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.008, allocations: 3.938 kB / 1.159 GB, free: 3.469 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.963e-05/1.008, allocations: 0 / 1.159 GB, free: 3.469 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004069/1.012, allocations: 1.432 MB / 1.161 GB, free: 2.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.012, allocations: 8.781 kB / 1.161 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/1.015, allocations: 325.4 kB / 1.161 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/1.018, allocations: 0.8418 MB / 1.162 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.018, allocations: 80.7 kB / 1.162 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/1.019, allocations: 102.6 kB / 1.162 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/1.022, allocations: 1.168 MB / 1.163 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/1.022, allocations: 4 kB / 1.163 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/1.022, allocations: 41.66 kB / 1.163 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.883e-05/1.022, allocations: 44.84 kB / 1.163 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/1.025, allocations: 0.9339 MB / 1.164 GB, free: 304 kB / 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.00861/1.034, allocations: 4.708 MB / 1.169 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/1.035, allocations: 0.7458 MB / 1.17 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/1.036, allocations: 153.3 kB / 1.17 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/1.036, allocations: 43.97 kB / 1.17 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 5.49e-06/1.036, allocations: 0 / 1.17 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.003144/1.039, allocations: 1.017 MB / 1.171 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/1.039, allocations: 57.31 kB / 1.171 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.041, allocations: 0.7948 MB / 1.172 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.041, allocations: 38.92 kB / 1.172 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006025/1.042, allocations: 0.5296 MB / 1.172 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000364/1.042, allocations: 252 kB / 1.172 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/1.042, allocations: 13.97 kB / 1.172 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.042, allocations: 334.3 kB / 1.173 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/1.043, allocations: 290.8 kB / 1.173 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.044, allocations: 0.5101 MB / 1.173 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/1.045, allocations: 373.1 kB / 1.174 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.045, allocations: 0 / 1.174 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002518/1.048, allocations: 0.915 MB / 1.175 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007716/1.049, allocations: 1.757 MB / 1.176 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.049, allocations: 5.781 kB / 1.176 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/1.049, allocations: 7.312 kB / 1.176 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.05, allocations: 182.8 kB / 1.177 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005622/1.051, allocations: 0.5989 MB / 1.177 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.052, allocations: 131.4 kB / 1.177 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.053, allocations: 37.73 kB / 1.177 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.053, allocations: 4.594 kB / 1.177 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002087/1.055, allocations: 0.7933 MB / 1.178 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.055, allocations: 6.703 kB / 1.178 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.055, allocations: 12.19 kB / 1.178 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.056, allocations: 171.5 kB / 1.178 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.056, allocations: 14.84 kB / 1.178 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.058, allocations: 118.2 kB / 1.178 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/1.058, allocations: 34 kB / 1.178 GB, free: 5.176 MB / 0.7136 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.0009417/1.059, allocations: 403.4 kB / 1.179 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/1.059, allocations: 100.5 kB / 1.179 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/1.061, allocations: 0.8169 MB / 1.18 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/1.061, allocations: 5.094 kB / 1.18 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.061, allocations: 0 / 1.18 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/1.063, allocations: 0.8851 MB / 1.181 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/1.07, allocations: 2.173 MB / 1.183 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.07, allocations: 2.375 kB / 1.183 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.071, allocations: 155.5 kB / 1.183 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.316e-05/1.071, allocations: 5.031 kB / 1.183 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/1.072, allocations: 16.12 kB / 1.183 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000548/1.072, allocations: 0.5994 MB / 1.183 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.072, allocations: 6.938 kB / 1.183 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/1.075, allocations: 1.43 MB / 1.185 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.077, allocations: 263.5 kB / 1.185 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.077, allocations: 13.22 kB / 1.185 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.078, allocations: 79.5 kB / 1.185 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.078, allocations: 45.34 kB / 1.185 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/1.078, allocations: 28.2 kB / 1.185 GB, free: 312 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001129/1.079, allocations: 0.5402 MB / 1.186 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.92e-07/1.079, allocations: 0 / 1.186 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002435/1.082, allocations: 0.5577 MB / 1.186 GB, free: 15.87 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.0007445/1.082, allocations: 244.5 kB / 1.187 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003261/1.086, allocations: 1.162 MB / 1.188 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.086, allocations: 0 / 1.188 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009008/1.087, allocations: 376.9 kB / 1.188 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/1.09, allocations: 487.6 kB / 1.189 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/1.097, allocations: 2.743 MB / 1.191 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.098, allocations: 1.197 MB / 1.192 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00224/1.1, allocations: 360.5 kB / 1.193 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/1.1, allocations: 82.7 kB / 1.193 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of SimCode: time 1.333e-06/1.1, allocations: 0 / 1.193 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.04389/1.144, allocations: 16.62 MB / 1.209 GB, free: 12.27 MB / 0.7448 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)