Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json 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/Complex 4.0.0+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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4424/0.4424, allocations: 55.01 MB / 325.4 MB, free: 0.6992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005533, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3709, allocations: 60.72 MB / 457.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1989/0.5699, allocations: 165.4 MB / 0.6081 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.5761, allocations: 4.121 MB / 0.6122 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.5767, allocations: 15.88 kB / 0.6122 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009405/0.5777, allocations: 254.4 kB / 0.6124 GB, free: 13.45 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00172/0.5794, allocations: 0.5295 MB / 0.6129 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.5836, allocations: 1.133 MB / 0.614 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.5862, allocations: 2.033 MB / 0.616 GB, free: 9.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/0.587, allocations: 445.2 kB / 0.6164 GB, free: 9.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.5888, allocations: 0.7431 MB / 0.6172 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.5895, allocations: 0.541 MB / 0.6177 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.5896, allocations: 36 kB / 0.6177 GB, free: 8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.5913, allocations: 0.6119 MB / 0.6183 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.5916, allocations: 255.3 kB / 0.6186 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.5919, allocations: 181.3 kB / 0.6187 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.5932, allocations: 0.9859 MB / 0.6197 GB, free: 5.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5932, allocations: 7.938 kB / 0.6197 GB, free: 5.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5932, allocations: 0 / 0.6197 GB, free: 5.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.5932, allocations: 0 / 0.6197 GB, free: 5.957 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001953/0.5952, allocations: 1.05 MB / 0.6207 GB, free: 4.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5952, allocations: 16.03 kB / 0.6208 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.597, allocations: 278.8 kB / 0.621 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.5978, allocations: 482.5 kB / 0.6215 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.5979, allocations: 49.31 kB / 0.6215 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.598, allocations: 60 kB / 0.6216 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5994, allocations: 0.7895 MB / 0.6224 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5994, allocations: 7.891 kB / 0.6224 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.5995, allocations: 27.94 kB / 0.6224 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5995, allocations: 16 kB / 0.6224 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.6008, allocations: 0.6452 MB / 0.623 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.6045, allocations: 2.848 MB / 0.6258 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.6056, allocations: 472.9 kB / 0.6263 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.6061, allocations: 233.3 kB / 0.6265 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.6065, allocations: 137.3 kB / 0.6266 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/0.6074, allocations: 466.8 kB / 0.6271 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 2.604e-06/0.6074, allocations: 0 / 0.6271 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.001643/0.609, allocations: 0.7205 MB / 0.6278 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002377/0.6093, allocations: 482.6 kB / 0.6282 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/0.6101, allocations: 0.6484 MB / 0.6289 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.6101, allocations: 45.7 kB / 0.6289 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.6104, allocations: 339.5 kB / 0.6292 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.6105, allocations: 126.3 kB / 0.6294 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.6106, allocations: 8 kB / 0.6294 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6107, allocations: 370.8 kB / 0.6297 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.6112, allocations: 241 kB / 0.6299 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.6119, allocations: 483.5 kB / 0.6304 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.6125, allocations: 336 kB / 0.6307 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6125, allocations: 8 kB / 0.6307 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001413/0.614, allocations: 0.7911 MB / 0.6315 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.614, allocations: 59.41 kB / 0.6316 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.6141, allocations: 4 kB / 0.6316 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.6141, allocations: 8 kB / 0.6316 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.6146, allocations: 132.2 kB / 0.6317 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.6146, allocations: 11.94 kB / 0.6317 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.6154, allocations: 131.1 kB / 0.6318 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.6155, allocations: 24.61 kB / 0.6319 GB, free: 8.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (66): * Single equations (assignments): 64 * 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.0003325/0.6158, allocations: 229.6 kB / 0.6321 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.6159, allocations: 75.19 kB / 0.6322 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.6172, allocations: 0.5569 MB / 0.6327 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.6172, allocations: 4 kB / 0.6327 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6172, allocations: 4 kB / 0.6327 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.6172, allocations: 0 / 0.6327 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.6195, allocations: 1.576 MB / 0.6342 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.6195, allocations: 4.562 kB / 0.6342 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.6199, allocations: 79.89 kB / 0.6343 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.62, allocations: 7.984 kB / 0.6343 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.62, allocations: 12 kB / 0.6343 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.62, allocations: 8.688 kB / 0.6343 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.62, allocations: 11.94 kB / 0.6344 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.6218, allocations: 0.9872 MB / 0.6353 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.6222, allocations: 208.2 kB / 0.6355 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6223, allocations: 13.19 kB / 0.6355 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.6229, allocations: 75.83 kB / 0.6356 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.6231, allocations: 51.89 kB / 0.6357 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.6231, allocations: 15.98 kB / 0.6357 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006508/0.6238, allocations: 455 kB / 0.6361 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6238, allocations: 0 / 0.6361 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008254/0.6246, allocations: 207.8 kB / 0.6363 GB, free: 4.102 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * 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.00052/0.6252, allocations: 178.8 kB / 0.6365 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.6265, allocations: 0.6658 MB / 0.6371 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6265, allocations: 8 kB / 0.6371 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000635/0.6271, allocations: 300.5 kB / 0.6374 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.6289, allocations: 390.1 kB / 0.6378 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.631, allocations: 1.434 MB / 0.6392 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.6315, allocations: 0.9218 MB / 0.6401 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.2355/0.867, allocations: 147.1 kB / 0.6402 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.8673, allocations: 51.06 kB / 0.6403 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.442e-06/0.8673, allocations: 0 / 0.6403 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.02723/0.8946, allocations: 14.32 MB / 0.6543 GB, free: 158.7 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: