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.001036/0.001036, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.3 MB / 396.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008832, allocations: 101.8 kB / 478.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.639e-05, allocations: 3.594 kB / 0.5551 GB, free: 86.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1772, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.92/5.097, allocations: 1.831 GB / 2.466 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/5.097, allocations: 83.95 kB / 2.466 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.805/6.902, allocations: 430 MB / 2.886 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/6.902, allocations: 0 / 2.886 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.065e-05/6.903, allocations: 18.8 kB / 2.886 GB, free: 146.4 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.002338/6.905, allocations: 0.9898 MB / 2.887 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/6.905, allocations: 7.188 kB / 2.887 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/6.907, allocations: 285.5 kB / 2.887 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/6.908, allocations: 465 kB / 2.888 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/6.908, allocations: 31.62 kB / 2.888 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/6.908, allocations: 47.81 kB / 2.888 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/6.909, allocations: 0.4887 MB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/6.909, allocations: 2.344 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/6.909, allocations: 18.94 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/6.909, allocations: 10.2 kB / 2.888 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/6.909, allocations: 354.1 kB / 2.888 GB, free: 145.6 MB / 0.6823 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.002203/6.912, allocations: 2.144 MB / 2.891 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/6.912, allocations: 321 kB / 2.891 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/6.912, allocations: 173 kB / 2.891 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/6.913, allocations: 388.9 kB / 2.891 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/6.913, allocations: 238.1 kB / 2.892 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.835e-06/6.913, allocations: 2.312 kB / 2.892 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.0008738/6.914, allocations: 414 kB / 2.892 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/6.914, allocations: 66.05 kB / 2.892 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/6.915, allocations: 429.1 kB / 2.892 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/6.915, allocations: 38.91 kB / 2.893 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/6.915, allocations: 256.5 kB / 2.893 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/6.915, allocations: 130.2 kB / 2.893 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/6.915, allocations: 4.75 kB / 2.893 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/6.915, allocations: 367.9 kB / 2.893 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/6.915, allocations: 148.3 kB / 2.893 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/6.915, allocations: 279.3 kB / 2.894 GB, free: 143 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/6.916, allocations: 234.9 kB / 2.894 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/6.916, allocations: 0 / 2.894 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007093/6.916, allocations: 0.5504 MB / 2.894 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/6.917, allocations: 62.81 kB / 2.894 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/6.917, allocations: 3.5 kB / 2.894 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/6.917, allocations: 5.5 kB / 2.894 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/6.917, allocations: 112.5 kB / 2.895 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/6.917, allocations: 8.969 kB / 2.895 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/6.918, allocations: 93.88 kB / 2.895 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/6.918, allocations: 24.48 kB / 2.895 GB, free: 142.7 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 () * 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.0001084/6.918, allocations: 133.3 kB / 2.895 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/6.918, allocations: 57.11 kB / 2.895 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/6.919, allocations: 462.6 kB / 2.895 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/6.919, allocations: 5.031 kB / 2.895 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/6.919, allocations: 3.938 kB / 2.895 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/6.919, allocations: 3.516 kB / 2.895 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/6.92, allocations: 1.239 MB / 2.897 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/6.92, allocations: 3.906 kB / 2.897 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/6.921, allocations: 91.56 kB / 2.897 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/6.921, allocations: 6.781 kB / 2.897 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/6.921, allocations: 14.31 kB / 2.897 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/6.921, allocations: 3.906 kB / 2.897 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/6.921, allocations: 9.281 kB / 2.897 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/6.922, allocations: 0.9549 MB / 2.898 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/6.922, allocations: 171.6 kB / 2.898 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/6.922, allocations: 13.97 kB / 2.898 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/6.922, allocations: 53.06 kB / 2.898 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/6.923, allocations: 50.48 kB / 2.898 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/6.923, allocations: 16.72 kB / 2.898 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002939/6.923, allocations: 333.9 kB / 2.898 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/6.923, allocations: 3.156 kB / 2.898 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009823/6.924, allocations: 287.6 kB / 2.898 GB, free: 141.4 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) * 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.001828/6.926, allocations: 1.475 MB / 2.9 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006708/6.926, allocations: 494 kB / 2.9 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/6.926, allocations: 0 / 2.9 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003867/6.927, allocations: 240.2 kB / 2.901 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/6.928, allocations: 269.6 kB / 2.901 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/6.93, allocations: 0.8139 MB / 2.902 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/6.93, allocations: 0.8799 MB / 2.903 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005417/6.93, allocations: 129.4 kB / 2.903 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/6.931, allocations: 38.44 kB / 2.903 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/6.931, allocations: 0 / 2.903 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.04181/6.972, allocations: 31.17 MB / 2.933 GB, free: 138.8 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)