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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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 0.7457/0.7457, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 187.6 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 426.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009095/0.0009098, allocations: 84.98 kB / 0.4945 GB, free: 8.441 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001662/0.001662, allocations: 272.8 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 20 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4051, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.373/4.778, allocations: 2.103 GB / 2.843 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000438/4.778, allocations: 99.94 kB / 2.843 GB, free: 100.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.337/7.115, allocations: 0.6278 GB / 3.471 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/7.115, allocations: 3.438 kB / 3.471 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001673/7.116, allocations: 34.84 kB / 3.471 GB, free: 118.1 MB / 0.6823 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.004894/7.12, allocations: 1.631 MB / 3.472 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/7.121, allocations: 10.09 kB / 3.472 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/7.123, allocations: 320.8 kB / 3.473 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/7.126, allocations: 1.056 MB / 3.474 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/7.126, allocations: 79.69 kB / 3.474 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/7.126, allocations: 109.2 kB / 3.474 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/7.128, allocations: 1.166 MB / 3.475 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/7.129, allocations: 3.938 kB / 3.475 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/7.129, allocations: 47.06 kB / 3.475 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/7.129, allocations: 32.91 kB / 3.475 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/7.13, allocations: 0.9211 MB / 3.476 GB, free: 117 MB / 0.6823 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.008024/7.138, allocations: 4.716 MB / 3.481 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/7.14, allocations: 0.7207 MB / 3.481 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007318/7.141, allocations: 379.9 kB / 3.482 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/7.141, allocations: 316.4 kB / 3.482 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/7.142, allocations: 46.47 kB / 3.482 GB, free: 114 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.28e-06/7.142, allocations: 0 / 3.482 GB, free: 114 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.002913/7.145, allocations: 0.9952 MB / 3.483 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/7.145, allocations: 112.5 kB / 3.483 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/7.146, allocations: 0.7906 MB / 3.484 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/7.146, allocations: 50.11 kB / 3.484 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/7.147, allocations: 0.5316 MB / 3.484 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/7.147, allocations: 244.6 kB / 3.485 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/7.147, allocations: 13.38 kB / 3.485 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/7.147, allocations: 341.7 kB / 3.485 GB, free: 113 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/7.148, allocations: 285.2 kB / 3.485 GB, free: 113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/7.148, allocations: 0.53 MB / 3.486 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/7.149, allocations: 0.7737 MB / 3.487 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/7.149, allocations: 3.188 kB / 3.487 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001524/7.151, allocations: 0.902 MB / 3.487 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/7.151, allocations: 218.8 kB / 3.488 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/7.151, allocations: 6.172 kB / 3.488 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/7.151, allocations: 7.406 kB / 3.488 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/7.152, allocations: 186.5 kB / 3.488 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003092/7.152, allocations: 0.6009 MB / 3.488 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/7.154, allocations: 139.4 kB / 3.489 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/7.154, allocations: 36.52 kB / 3.489 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/7.154, allocations: 3.812 kB / 3.489 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/7.155, allocations: 0.7849 MB / 3.489 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/7.155, allocations: 3.531 kB / 3.489 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/7.155, allocations: 7.375 kB / 3.489 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/7.156, allocations: 178.4 kB / 3.49 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/7.156, allocations: 9.094 kB / 3.49 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/7.157, allocations: 129.7 kB / 3.49 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/7.157, allocations: 35.95 kB / 3.49 GB, free: 111.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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.0007397/7.158, allocations: 410.6 kB / 3.49 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/7.158, allocations: 100.5 kB / 3.49 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/7.159, allocations: 0.8014 MB / 3.491 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/7.159, allocations: 10.22 kB / 3.491 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/7.159, allocations: 0 / 3.491 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009802/7.16, allocations: 0.8792 MB / 3.492 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/7.164, allocations: 2.112 MB / 3.494 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/7.164, allocations: 0 / 3.494 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/7.165, allocations: 164.7 kB / 3.494 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/7.165, allocations: 9.281 kB / 3.494 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/7.165, allocations: 22.56 kB / 3.494 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002342/7.165, allocations: 0.5924 MB / 3.495 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/7.165, allocations: 0 / 3.495 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/7.167, allocations: 1.305 MB / 3.496 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/7.168, allocations: 262 kB / 3.496 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/7.168, allocations: 14.94 kB / 3.496 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/7.169, allocations: 81.86 kB / 3.496 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/7.169, allocations: 49.17 kB / 3.496 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/7.169, allocations: 24.12 kB / 3.496 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008383/7.17, allocations: 0.5428 MB / 3.497 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/7.17, allocations: 2.406 kB / 3.497 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002778/7.173, allocations: 0.7481 MB / 3.498 GB, free: 109.3 MB / 0.6823 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.003026/7.176, allocations: 1.859 MB / 3.5 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002251/7.178, allocations: 1.157 MB / 3.501 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/7.178, allocations: 6.25 kB / 3.501 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005643/7.178, allocations: 369.3 kB / 3.501 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/7.181, allocations: 486.1 kB / 3.501 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/7.185, allocations: 2.771 MB / 3.504 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/7.186, allocations: 1.175 MB / 3.505 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001359/7.187, allocations: 345.1 kB / 3.506 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/7.188, allocations: 87.7 kB / 3.506 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.393e-06/7.188, allocations: 0 / 3.506 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.05529/7.243, allocations: 38.73 MB / 3.544 GB, free: 105.4 MB / 0.6823 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)