Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8663/0.8663, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001235/0.001235, allocations: 183.7 kB / 182.2 MB, free: 9.445 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.503/1.503, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001258/0.001258, allocations: 88.09 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.00171, allocations: 282.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.864e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4278, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.239/4.667, allocations: 1.828 GB / 2.585 GB, free: 232.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/4.667, allocations: 91.83 kB / 2.586 GB, free: 232.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.157/5.824, allocations: 424.8 MB / 3 GB, free: 79.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/5.824, allocations: 0 / 3 GB, free: 79.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.159e-05/5.824, allocations: 16 kB / 3 GB, free: 79.05 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002453/5.827, allocations: 1 MB / 3.001 GB, free: 77.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/5.827, allocations: 8.031 kB / 3.001 GB, free: 77.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/5.829, allocations: 283 kB / 3.002 GB, free: 77.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/5.83, allocations: 450.7 kB / 3.002 GB, free: 77.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/5.83, allocations: 12 kB / 3.002 GB, free: 77.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/5.83, allocations: 28 kB / 3.002 GB, free: 77.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005614/5.83, allocations: 326.4 kB / 3.002 GB, free: 76.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/5.831, allocations: 449.1 kB / 3.003 GB, free: 76.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/5.831, allocations: 0 / 3.003 GB, free: 76.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/5.831, allocations: 7.984 kB / 3.003 GB, free: 76.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/5.831, allocations: 8 kB / 3.003 GB, free: 76.38 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.002197/5.833, allocations: 2.047 MB / 3.005 GB, free: 74.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/5.834, allocations: 307.8 kB / 3.005 GB, free: 73.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/5.834, allocations: 164.7 kB / 3.005 GB, free: 73.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/5.834, allocations: 392.4 kB / 3.006 GB, free: 73.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/5.835, allocations: 236.6 kB / 3.006 GB, free: 73.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/5.835, allocations: 0 / 3.006 GB, free: 73.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001043/5.836, allocations: 448.4 kB / 3.006 GB, free: 72.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/5.836, allocations: 63.38 kB / 3.006 GB, free: 72.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/5.836, allocations: 305.3 kB / 3.007 GB, free: 72.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/5.836, allocations: 25.7 kB / 3.007 GB, free: 72.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/5.836, allocations: 271.9 kB / 3.007 GB, free: 71.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/5.836, allocations: 126.2 kB / 3.007 GB, free: 71.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/5.836, allocations: 0 / 3.007 GB, free: 71.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/5.836, allocations: 358.8 kB / 3.007 GB, free: 71.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/5.837, allocations: 137 kB / 3.008 GB, free: 71.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/5.837, allocations: 261.9 kB / 3.008 GB, free: 71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/5.837, allocations: 229.1 kB / 3.008 GB, free: 70.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.837, allocations: 0 / 3.008 GB, free: 70.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008066/5.838, allocations: 0.4892 MB / 3.009 GB, free: 70.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/5.838, allocations: 67.42 kB / 3.009 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/5.838, allocations: 4 kB / 3.009 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/5.838, allocations: 7.953 kB / 3.009 GB, free: 70.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/5.839, allocations: 107.8 kB / 3.009 GB, free: 70.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/5.839, allocations: 4 kB / 3.009 GB, free: 70.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/5.839, allocations: 83.48 kB / 3.009 GB, free: 70 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/5.839, allocations: 31.86 kB / 3.009 GB, free: 69.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/5.839, allocations: 119.1 kB / 3.009 GB, free: 69.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/5.84, allocations: 47.44 kB / 3.009 GB, free: 69.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008263/5.84, allocations: 465.8 kB / 3.009 GB, free: 69.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/5.84, allocations: 4 kB / 3.009 GB, free: 69.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/5.84, allocations: 3.953 kB / 3.009 GB, free: 69.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/5.84, allocations: 3.984 kB / 3.009 GB, free: 69.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/5.842, allocations: 1.198 MB / 3.011 GB, free: 68.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/5.842, allocations: 4 kB / 3.011 GB, free: 68.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/5.842, allocations: 91.81 kB / 3.011 GB, free: 67.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/5.843, allocations: 8 kB / 3.011 GB, free: 67.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/5.843, allocations: 4 kB / 3.011 GB, free: 67.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/5.843, allocations: 4.219 kB / 3.011 GB, free: 67.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/5.843, allocations: 11.98 kB / 3.011 GB, free: 67.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/5.844, allocations: 0.9689 MB / 3.012 GB, free: 66.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/5.844, allocations: 152.5 kB / 3.012 GB, free: 66.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/5.844, allocations: 11.98 kB / 3.012 GB, free: 66.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/5.844, allocations: 47.92 kB / 3.012 GB, free: 66.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/5.844, allocations: 51.83 kB / 3.012 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/5.844, allocations: 16 kB / 3.012 GB, free: 66.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001762/5.845, allocations: 239 kB / 3.012 GB, free: 66.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/5.845, allocations: 0 / 3.012 GB, free: 66.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008791/5.846, allocations: 243.8 kB / 3.012 GB, free: 66.03 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/5.848, allocations: 1.669 MB / 3.014 GB, free: 64.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006017/5.848, allocations: 466.2 kB / 3.014 GB, free: 63.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/5.848, allocations: 0 / 3.014 GB, free: 63.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/5.849, allocations: 236.8 kB / 3.015 GB, free: 63.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/5.85, allocations: 184.3 kB / 3.015 GB, free: 63.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/5.851, allocations: 0.7724 MB / 3.016 GB, free: 62.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/5.851, allocations: 0.883 MB / 3.016 GB, free: 61.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000478/5.852, allocations: 108.1 kB / 3.017 GB, free: 61.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/5.852, allocations: 39.38 kB / 3.017 GB, free: 61.52 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/5.852, allocations: 0 / 3.017 GB, free: 61.52 MB / 0.698 GB Notification: Performance of Templates: time 0.02232/5.874, allocations: 15.73 MB / 3.032 GB, free: 45.89 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)