Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008253/0.008253, allocations: 170.1 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7189/0.7189, allocations: 132.3 MB / 148.1 MB, free: 224 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 403.2 MB, free: 6.73 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.000889/0.000889, allocations: 94.48 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004413, allocations: 8 kB / 0.5641 GB, free: 2.094 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4495, allocations: 81.58 MB / 0.6437 GB, free: 39.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.18/5.63, allocations: 1.831 GB / 2.475 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004116/5.63, allocations: 87.83 kB / 2.475 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.961/7.592, allocations: 430.4 MB / 2.895 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/7.592, allocations: 0 / 2.895 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.482e-05/7.592, allocations: 14.41 kB / 2.895 GB, free: 149.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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002596/7.595, allocations: 1.076 MB / 2.896 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/7.595, allocations: 13.44 kB / 2.896 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/7.597, allocations: 282.7 kB / 2.897 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/7.598, allocations: 462.8 kB / 2.897 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/7.598, allocations: 32.66 kB / 2.897 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/7.598, allocations: 46.08 kB / 2.897 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/7.599, allocations: 0.5506 MB / 2.898 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/7.599, allocations: 0 / 2.898 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/7.599, allocations: 21.69 kB / 2.898 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/7.599, allocations: 11.03 kB / 2.898 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/7.6, allocations: 467.4 kB / 2.898 GB, free: 148.2 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.002559/7.602, allocations: 2.145 MB / 2.9 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009194/7.603, allocations: 419.6 kB / 2.901 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/7.604, allocations: 403.1 kB / 2.901 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005739/7.605, allocations: 294 kB / 2.901 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 3.577e-06/7.605, allocations: 0 / 2.901 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001727/7.606, allocations: 0.71 MB / 2.902 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/7.606, allocations: 59.03 kB / 2.902 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/7.607, allocations: 433.3 kB / 2.902 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/7.607, allocations: 39.19 kB / 2.902 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/7.607, allocations: 261.6 kB / 2.903 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/7.607, allocations: 118.2 kB / 2.903 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/7.607, allocations: 10.66 kB / 2.903 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001066/7.607, allocations: 370.8 kB / 2.903 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/7.608, allocations: 202.6 kB / 2.903 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/7.608, allocations: 340.1 kB / 2.904 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/7.609, allocations: 303.1 kB / 2.904 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/7.609, allocations: 0 / 2.904 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001193/7.61, allocations: 0.6559 MB / 2.905 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/7.61, allocations: 63.06 kB / 2.905 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/7.61, allocations: 6.906 kB / 2.905 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/7.61, allocations: 3.906 kB / 2.905 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/7.611, allocations: 106.8 kB / 2.905 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/7.611, allocations: 5.656 kB / 2.905 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/7.611, allocations: 100.3 kB / 2.905 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/7.611, allocations: 21.81 kB / 2.905 GB, free: 145.4 MB / 0.6823 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 () * Number of clocked 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.0002586/7.612, allocations: 195.5 kB / 2.905 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/7.612, allocations: 55.69 kB / 2.905 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/7.613, allocations: 0.5567 MB / 2.906 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/7.613, allocations: 6.094 kB / 2.906 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/7.613, allocations: 0 / 2.906 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/7.613, allocations: 0 / 2.906 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/7.615, allocations: 1.352 MB / 2.907 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/7.615, allocations: 4.688 kB / 2.907 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/7.616, allocations: 88.73 kB / 2.907 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/7.616, allocations: 3.938 kB / 2.907 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/7.616, allocations: 11.84 kB / 2.907 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/7.616, allocations: 8.719 kB / 2.907 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/7.616, allocations: 7.156 kB / 2.907 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/7.617, allocations: 1.128 MB / 2.908 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/7.618, allocations: 174.3 kB / 2.908 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/7.618, allocations: 9.594 kB / 2.908 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/7.618, allocations: 58.27 kB / 2.909 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/7.619, allocations: 52.84 kB / 2.909 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/7.619, allocations: 17.12 kB / 2.909 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004108/7.619, allocations: 341.1 kB / 2.909 GB, free: 144 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/7.619, allocations: 0 / 2.909 GB, free: 144 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001435/7.62, allocations: 300.9 kB / 2.909 GB, free: 144 MB / 0.6823 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) * Number of clocked states: 0 () * 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.002716/7.623, allocations: 1.465 MB / 2.911 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001338/7.625, allocations: 0.5922 MB / 2.911 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/7.625, allocations: 3.125 kB / 2.911 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00069/7.625, allocations: 300.9 kB / 2.911 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/7.627, allocations: 267.5 kB / 2.912 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/7.629, allocations: 1.21 MB / 2.913 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/7.63, allocations: 0.8806 MB / 2.914 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006584/7.63, allocations: 123.2 kB / 2.914 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/7.63, allocations: 42.16 kB / 2.914 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.244e-06/7.63, allocations: 0 / 2.914 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.04325/7.674, allocations: 27.26 MB / 2.941 GB, free: 141.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)