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.001239/0.001239, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8013/0.8013, allocations: 130.7 MB / 138.8 MB, free: 3.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009007/0.0009007, allocations: 92.77 kB / 473.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.097e-05, allocations: 4 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5067, allocations: 81.57 MB / 0.6282 GB, free: 42.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.172/5.678, allocations: 1.83 GB / 2.459 GB, free: 122.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/5.679, allocations: 91.89 kB / 2.459 GB, free: 122.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.913/7.592, allocations: 424.7 MB / 2.873 GB, free: 143.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.105e-06/7.592, allocations: 0 / 2.873 GB, free: 143.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.624e-05/7.592, allocations: 19.11 kB / 2.873 GB, free: 143.4 MB / 0.6667 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.003095/7.595, allocations: 0.9964 MB / 2.874 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/7.595, allocations: 11.12 kB / 2.874 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/7.598, allocations: 281.5 kB / 2.875 GB, free: 142.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/7.599, allocations: 453 kB / 2.875 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/7.599, allocations: 11.41 kB / 2.875 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/7.599, allocations: 30.22 kB / 2.875 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008293/7.6, allocations: 317.9 kB / 2.876 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/7.601, allocations: 451.1 kB / 2.876 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/7.601, allocations: 0 / 2.876 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/7.601, allocations: 0 / 2.876 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/7.601, allocations: 18.33 kB / 2.876 GB, free: 142.5 MB / 0.6667 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.003137/7.604, allocations: 2.034 MB / 2.878 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/7.605, allocations: 308.4 kB / 2.878 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/7.605, allocations: 166.7 kB / 2.878 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/7.606, allocations: 392.8 kB / 2.879 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/7.606, allocations: 228 kB / 2.879 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 2.645e-06/7.606, allocations: 3.062 kB / 2.879 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.00154/7.608, allocations: 441.1 kB / 2.879 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/7.608, allocations: 63 kB / 2.879 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/7.608, allocations: 306.6 kB / 2.88 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/7.609, allocations: 25.7 kB / 2.88 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/7.609, allocations: 275.9 kB / 2.88 GB, free: 140.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/7.609, allocations: 125.7 kB / 2.88 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/7.609, allocations: 0 / 2.88 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001078/7.609, allocations: 359.6 kB / 2.881 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/7.609, allocations: 141.3 kB / 2.881 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/7.61, allocations: 265.2 kB / 2.881 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/7.61, allocations: 220.2 kB / 2.881 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/7.61, allocations: 0 / 2.881 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001309/7.612, allocations: 0.5066 MB / 2.882 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/7.612, allocations: 63.44 kB / 2.882 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/7.612, allocations: 3.594 kB / 2.882 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/7.612, allocations: 3.594 kB / 2.882 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/7.613, allocations: 108.9 kB / 2.882 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/7.613, allocations: 10.91 kB / 2.882 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/7.613, allocations: 71.72 kB / 2.882 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/7.613, allocations: 28.84 kB / 2.882 GB, free: 139.8 MB / 0.6667 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.0001964/7.614, allocations: 128.2 kB / 2.882 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/7.614, allocations: 45.09 kB / 2.882 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/7.615, allocations: 467.3 kB / 2.882 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/7.615, allocations: 2.656 kB / 2.882 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/7.615, allocations: 2.875 kB / 2.882 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/7.615, allocations: 3.469 kB / 2.883 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/7.617, allocations: 1.195 MB / 2.884 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/7.617, allocations: 10.48 kB / 2.884 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/7.618, allocations: 82.94 kB / 2.884 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/7.618, allocations: 7.781 kB / 2.884 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/7.618, allocations: 12.92 kB / 2.884 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/7.618, allocations: 7.281 kB / 2.884 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/7.618, allocations: 6.375 kB / 2.884 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/7.62, allocations: 0.9693 MB / 2.885 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/7.62, allocations: 165.2 kB / 2.885 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/7.62, allocations: 6.734 kB / 2.885 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/7.621, allocations: 53.88 kB / 2.885 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/7.621, allocations: 50.55 kB / 2.885 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/7.621, allocations: 21.83 kB / 2.885 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003031/7.621, allocations: 235.3 kB / 2.885 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.01e-07/7.621, allocations: 3.031 kB / 2.885 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001265/7.623, allocations: 239.4 kB / 2.885 GB, free: 138.5 MB / 0.6667 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.00354/7.626, allocations: 1.654 MB / 2.887 GB, free: 138 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008825/7.627, allocations: 478.2 kB / 2.888 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/7.627, allocations: 0 / 2.888 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/7.628, allocations: 228.6 kB / 2.888 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/7.629, allocations: 179.3 kB / 2.888 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/7.631, allocations: 0.7669 MB / 2.889 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/7.631, allocations: 0.8804 MB / 2.89 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007345/7.632, allocations: 109.1 kB / 2.89 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/7.632, allocations: 40.83 kB / 2.89 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of SimCode: time 5.51e-07/7.632, allocations: 0 / 2.89 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.03593/7.668, allocations: 15.71 MB / 2.905 GB, free: 136.2 MB / 0.6667 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)