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.001351/0.001351, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4737/0.4737, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.426/1.426, allocations: 221.3 MB / 348.3 MB, free: 480 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008675/0.0008676, allocations: 102.2 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.048e-05, allocations: 4 kB / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4156, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.069/4.484, allocations: 1.931 GB / 2.492 GB, free: 93.39 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/4.485, allocations: 96.5 kB / 2.492 GB, free: 93.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.21/6.695, allocations: 0.6383 GB / 3.13 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/6.695, allocations: 0 / 3.13 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000125/6.695, allocations: 36.64 kB / 3.13 GB, free: 102.2 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.003243/6.698, allocations: 1.466 MB / 3.131 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/6.698, allocations: 11.47 kB / 3.131 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/6.7, allocations: 323.9 kB / 3.132 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/6.703, allocations: 1.191 MB / 3.133 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/6.703, allocations: 79.69 kB / 3.133 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/6.703, allocations: 107.6 kB / 3.133 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/6.705, allocations: 1.122 MB / 3.134 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/6.705, allocations: 0 / 3.134 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/6.705, allocations: 43.53 kB / 3.134 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/6.705, allocations: 37.34 kB / 3.134 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/6.706, allocations: 0.8764 MB / 3.135 GB, free: 101 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.00447/6.711, allocations: 4.721 MB / 3.14 GB, free: 98.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/6.712, allocations: 0.6591 MB / 3.14 GB, free: 98.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/6.712, allocations: 356 kB / 3.141 GB, free: 98.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004481/6.712, allocations: 314.1 kB / 3.141 GB, free: 97.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/6.712, allocations: 44.69 kB / 3.141 GB, free: 97.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 2.565e-06/6.712, allocations: 0 / 3.141 GB, free: 97.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.00124/6.714, allocations: 0.6937 MB / 3.142 GB, free: 97.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/6.714, allocations: 114.6 kB / 3.142 GB, free: 97.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/6.715, allocations: 0.6828 MB / 3.142 GB, free: 97.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.688e-05/6.715, allocations: 39.05 kB / 3.143 GB, free: 97.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/6.715, allocations: 0.542 MB / 3.143 GB, free: 97.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/6.715, allocations: 240.3 kB / 3.143 GB, free: 97.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/6.715, allocations: 14.56 kB / 3.143 GB, free: 97.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/6.715, allocations: 333.7 kB / 3.144 GB, free: 96.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/6.716, allocations: 266.4 kB / 3.144 GB, free: 96.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/6.716, allocations: 0.4955 MB / 3.144 GB, free: 96.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/6.717, allocations: 350.6 kB / 3.145 GB, free: 96.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/6.717, allocations: 0 / 3.145 GB, free: 96.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001145/6.718, allocations: 0.8561 MB / 3.146 GB, free: 96.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000361/6.718, allocations: 1.757 MB / 3.147 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/6.718, allocations: 3.312 kB / 3.147 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/6.718, allocations: 10.59 kB / 3.147 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/6.719, allocations: 178.7 kB / 3.147 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003038/6.719, allocations: 0.6052 MB / 3.148 GB, free: 94.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/6.72, allocations: 147.2 kB / 3.148 GB, free: 94.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/6.72, allocations: 34.56 kB / 3.148 GB, free: 94.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/6.72, allocations: 8.484 kB / 3.148 GB, free: 94.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/6.721, allocations: 0.744 MB / 3.149 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/6.721, allocations: 3.938 kB / 3.149 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/6.721, allocations: 7.125 kB / 3.149 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/6.722, allocations: 167.4 kB / 3.149 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/6.722, allocations: 9.625 kB / 3.149 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009659/6.723, allocations: 139 kB / 3.149 GB, free: 93.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/6.723, allocations: 43.59 kB / 3.149 GB, free: 93.98 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 () * 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.0001962/6.723, allocations: 150.2 kB / 3.149 GB, free: 93.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/6.723, allocations: 105.3 kB / 3.15 GB, free: 93.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/6.725, allocations: 0.74 MB / 3.15 GB, free: 93.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/6.725, allocations: 10.53 kB / 3.15 GB, free: 93.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/6.725, allocations: 0 / 3.15 GB, free: 93.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007934/6.725, allocations: 0.8277 MB / 3.151 GB, free: 93.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/6.729, allocations: 2.064 MB / 3.153 GB, free: 92.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/6.729, allocations: 6.906 kB / 3.153 GB, free: 92.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/6.73, allocations: 163.2 kB / 3.153 GB, free: 92.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/6.73, allocations: 5.5 kB / 3.153 GB, free: 92.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/6.73, allocations: 18.81 kB / 3.153 GB, free: 92.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001943/6.73, allocations: 0.5933 MB / 3.154 GB, free: 92.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/6.73, allocations: 9.406 kB / 3.154 GB, free: 92.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/6.731, allocations: 1.312 MB / 3.155 GB, free: 91.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/6.732, allocations: 252.7 kB / 3.155 GB, free: 91.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/6.732, allocations: 16.88 kB / 3.155 GB, free: 91.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/6.733, allocations: 78.86 kB / 3.155 GB, free: 91.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/6.733, allocations: 52.14 kB / 3.156 GB, free: 91.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/6.733, allocations: 28.17 kB / 3.156 GB, free: 91.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006253/6.733, allocations: 0.5302 MB / 3.156 GB, free: 91.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/6.733, allocations: 0 / 3.156 GB, free: 91.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002096/6.736, allocations: 0.7478 MB / 3.157 GB, free: 91.5 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 () * 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.002635/6.738, allocations: 1.865 MB / 3.159 GB, free: 90.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001868/6.74, allocations: 1.102 MB / 3.16 GB, free: 90.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/6.74, allocations: 3.125 kB / 3.16 GB, free: 90.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/6.741, allocations: 340.4 kB / 3.16 GB, free: 90.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/6.743, allocations: 473.5 kB / 3.16 GB, free: 90.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/6.746, allocations: 1.788 MB / 3.162 GB, free: 90.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/6.747, allocations: 1.193 MB / 3.163 GB, free: 89.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001526/6.748, allocations: 434.9 kB / 3.164 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/6.748, allocations: 66.48 kB / 3.164 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/6.748, allocations: 0 / 3.164 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.06014/6.809, allocations: 44.42 MB / 3.207 GB, free: 72.52 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)