Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 179.6 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 80.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001885/0.001885, allocations: 270.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.919e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4716, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.23/4.702, allocations: 1.937 GB / 2.695 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/4.702, allocations: 102.8 kB / 2.695 GB, free: 17.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.514/7.216, allocations: 0.6295 GB / 3.324 GB, free: 128.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/7.216, allocations: 0 / 3.324 GB, free: 128.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001783/7.216, allocations: 35.58 kB / 3.324 GB, free: 128.8 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.004951/7.221, allocations: 1.469 MB / 3.326 GB, free: 128.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/7.221, allocations: 10.44 kB / 3.326 GB, free: 128.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/7.224, allocations: 318.1 kB / 3.326 GB, free: 128.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/7.228, allocations: 1.181 MB / 3.327 GB, free: 127.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/7.228, allocations: 28.62 kB / 3.327 GB, free: 127.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/7.228, allocations: 71.69 kB / 3.327 GB, free: 127.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00188/7.23, allocations: 0.8181 MB / 3.328 GB, free: 127.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/7.232, allocations: 0.9803 MB / 3.329 GB, free: 127.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/7.232, allocations: 3.953 kB / 3.329 GB, free: 127.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/7.232, allocations: 3.969 kB / 3.329 GB, free: 127.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/7.232, allocations: 39.11 kB / 3.329 GB, free: 127.6 MB / 0.698 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.00553/7.238, allocations: 4.493 MB / 3.334 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/7.239, allocations: 0.6217 MB / 3.334 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/7.239, allocations: 329.6 kB / 3.335 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/7.24, allocations: 315 kB / 3.335 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/7.24, allocations: 47.08 kB / 3.335 GB, free: 124.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.316e-06/7.24, allocations: 0 / 3.335 GB, free: 124.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001693/7.241, allocations: 0.7393 MB / 3.336 GB, free: 124.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/7.241, allocations: 110.5 kB / 3.336 GB, free: 124.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008483/7.242, allocations: 0.5552 MB / 3.336 GB, free: 124.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/7.242, allocations: 25.7 kB / 3.336 GB, free: 124.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/7.243, allocations: 0.5364 MB / 3.337 GB, free: 124.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/7.243, allocations: 232.8 kB / 3.337 GB, free: 123.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/7.243, allocations: 0 / 3.337 GB, free: 123.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/7.243, allocations: 339.1 kB / 3.337 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/7.243, allocations: 249.9 kB / 3.338 GB, free: 123.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/7.244, allocations: 483.6 kB / 3.338 GB, free: 123.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/7.245, allocations: 414.2 kB / 3.338 GB, free: 123.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/7.245, allocations: 3.375 kB / 3.338 GB, free: 123.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001547/7.246, allocations: 0.8671 MB / 3.339 GB, free: 123.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004594/7.247, allocations: 1.751 MB / 3.341 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/7.247, allocations: 3.75 kB / 3.341 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/7.247, allocations: 6.719 kB / 3.341 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/7.248, allocations: 183.8 kB / 3.341 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003592/7.248, allocations: 0.613 MB / 3.342 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/7.249, allocations: 114.6 kB / 3.342 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/7.249, allocations: 31.72 kB / 3.342 GB, free: 120.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/7.249, allocations: 3.906 kB / 3.342 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/7.251, allocations: 0.7376 MB / 3.343 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/7.251, allocations: 3.406 kB / 3.343 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/7.251, allocations: 10.44 kB / 3.343 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/7.251, allocations: 167.1 kB / 3.343 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/7.251, allocations: 9.781 kB / 3.343 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/7.252, allocations: 104.6 kB / 3.343 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/7.253, allocations: 39.3 kB / 3.343 GB, free: 120.8 MB / 0.698 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.0002023/7.253, allocations: 131.6 kB / 3.343 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/7.253, allocations: 92.47 kB / 3.343 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/7.254, allocations: 0.7548 MB / 3.344 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/7.254, allocations: 7.406 kB / 3.344 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.255, allocations: 6.469 kB / 3.344 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/7.256, allocations: 0.8691 MB / 3.345 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/7.259, allocations: 1.963 MB / 3.347 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/7.259, allocations: 3.688 kB / 3.347 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/7.26, allocations: 161.8 kB / 3.347 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/7.26, allocations: 3.906 kB / 3.347 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/7.26, allocations: 13.22 kB / 3.347 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002129/7.26, allocations: 0.5947 MB / 3.348 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/7.26, allocations: 3.75 kB / 3.348 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/7.262, allocations: 1.36 MB / 3.349 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/7.262, allocations: 243.3 kB / 3.349 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/7.263, allocations: 3.625 kB / 3.349 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/7.263, allocations: 68.48 kB / 3.349 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/7.263, allocations: 52.12 kB / 3.349 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/7.264, allocations: 27.16 kB / 3.349 GB, free: 118.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005711/7.264, allocations: 433.8 kB / 3.35 GB, free: 118.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/7.264, allocations: 0 / 3.35 GB, free: 118.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002121/7.266, allocations: 0.6684 MB / 3.35 GB, free: 118.3 MB / 0.698 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 () * 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.003021/7.269, allocations: 2.089 MB / 3.352 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002124/7.271, allocations: 1.037 MB / 3.353 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/7.271, allocations: 0 / 3.353 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/7.272, allocations: 326.6 kB / 3.354 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/7.274, allocations: 421.6 kB / 3.354 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/7.278, allocations: 1.724 MB / 3.356 GB, free: 117.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/7.279, allocations: 1.196 MB / 3.357 GB, free: 116.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001679/7.28, allocations: 395.2 kB / 3.357 GB, free: 116.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/7.281, allocations: 65.94 kB / 3.357 GB, free: 116.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/7.281, allocations: 1.688 kB / 3.357 GB, free: 116.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04303/7.324, allocations: 26.6 MB / 3.383 GB, free: 111.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)