Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 196.1 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 222.4 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3976/0.3976, allocations: 54.94 MB / 324.7 MB, free: 148 kB / 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.002137/0.002137, allocations: 67.91 kB / 395.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1269, allocations: 59.59 MB / 455 MB, free: 48 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4337/0.5607, allocations: 161.6 MB / 0.6021 GB, free: 5.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.5657, allocations: 3.444 MB / 0.6055 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.5661, allocations: 11.94 kB / 0.6055 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.5671, allocations: 219.8 kB / 0.6057 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008136/0.5679, allocations: 318.2 kB / 0.606 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.5698, allocations: 0.7068 MB / 0.6067 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009844/0.5708, allocations: 0.9676 MB / 0.6077 GB, free: 112 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.5713, allocations: 331.3 kB / 0.608 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008973/0.5722, allocations: 0.4981 MB / 0.6085 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.5726, allocations: 298.9 kB / 0.6087 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/0.5727, allocations: 51.98 kB / 0.6088 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.5734, allocations: 339.4 kB / 0.6091 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.5736, allocations: 179.6 kB / 0.6093 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.5739, allocations: 246.9 kB / 0.6095 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009713/0.5748, allocations: 0.7518 MB / 0.6103 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5748, allocations: 0 / 0.6103 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5749, allocations: 2.625 kB / 0.6103 GB, free: 13.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5749, allocations: 0 / 0.6103 GB, free: 13.43 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001652/0.5765, allocations: 0.8134 MB / 0.611 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.5766, allocations: 8.031 kB / 0.6111 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.5771, allocations: 75.5 kB / 0.6111 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.5776, allocations: 341.1 kB / 0.6115 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.5777, allocations: 26.12 kB / 0.6115 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.5777, allocations: 32 kB / 0.6115 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/0.5787, allocations: 0.4966 MB / 0.612 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5787, allocations: 0 / 0.612 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.5788, allocations: 19.94 kB / 0.612 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5788, allocations: 8 kB / 0.612 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.5797, allocations: 399.6 kB / 0.6124 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.5823, allocations: 1.905 MB / 0.6143 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.5828, allocations: 255 kB / 0.6145 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.5832, allocations: 184.7 kB / 0.6147 GB, free: 8.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.5836, allocations: 113 kB / 0.6148 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5836, allocations: 41.83 kB / 0.6148 GB, free: 8.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.5836, allocations: 0 / 0.6148 GB, free: 8.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002489/0.5861, allocations: 0.7373 MB / 0.6156 GB, free: 7.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.5862, allocations: 51.41 kB / 0.6156 GB, free: 7.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.5866, allocations: 316.5 kB / 0.6159 GB, free: 7.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.5866, allocations: 33.64 kB / 0.6159 GB, free: 7.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.5868, allocations: 208.9 kB / 0.6161 GB, free: 7.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.5869, allocations: 82.84 kB / 0.6162 GB, free: 6.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.587, allocations: 57.61 kB / 0.6163 GB, free: 6.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5871, allocations: 342.8 kB / 0.6166 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.5875, allocations: 153.2 kB / 0.6167 GB, free: 6.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.5879, allocations: 212.9 kB / 0.6169 GB, free: 6.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.5887, allocations: 384.3 kB / 0.6173 GB, free: 5.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5888, allocations: 3.625 kB / 0.6173 GB, free: 5.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00139/0.5901, allocations: 0.5346 MB / 0.6178 GB, free: 5.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.5902, allocations: 38.75 kB / 0.6179 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5902, allocations: 4 kB / 0.6179 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.5909, allocations: 108.8 kB / 0.618 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.5912, allocations: 71.83 kB / 0.618 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.594, allocations: 1.878 MB / 0.6199 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.5943, allocations: 47.56 kB / 0.6199 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.5943, allocations: 8 kB / 0.6199 GB, free: 2.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (senWetBul.wetBulMod.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.5946, allocations: 177.8 kB / 0.6201 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.5947, allocations: 35.62 kB / 0.6201 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.596, allocations: 489.9 kB / 0.6206 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.596, allocations: 13.28 kB / 0.6206 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.596, allocations: 7.875 kB / 0.6206 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.596, allocations: 1.25 kB / 0.6206 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.5978, allocations: 0.9581 MB / 0.6216 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.5978, allocations: 7.938 kB / 0.6216 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.5981, allocations: 47.95 kB / 0.6216 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.5986, allocations: 100.9 kB / 0.6217 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.5986, allocations: 7.984 kB / 0.6217 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.6008, allocations: 1.902 MB / 0.6236 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6008, allocations: 7.938 kB / 0.6236 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.6021, allocations: 0.5755 MB / 0.6241 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.6023, allocations: 156.6 kB / 0.6243 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.6023, allocations: 8.484 kB / 0.6243 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.6027, allocations: 31.97 kB / 0.6243 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.6028, allocations: 29.22 kB / 0.6244 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.6028, allocations: 16.86 kB / 0.6244 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002255/0.6031, allocations: 219.1 kB / 0.6246 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6031, allocations: 0 / 0.6246 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005061/0.6036, allocations: 139.7 kB / 0.6247 GB, free: 13.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004229/0.604, allocations: 164.3 kB / 0.6249 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.6053, allocations: 0.5506 MB / 0.6254 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6053, allocations: 4 kB / 0.6254 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.606, allocations: 327.8 kB / 0.6257 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.6069, allocations: 198.9 kB / 0.6259 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.608, allocations: 0.6943 MB / 0.6266 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.6084, allocations: 0.8159 MB / 0.6274 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.6087, allocations: 80.8 kB / 0.6275 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.6088, allocations: 27.44 kB / 0.6275 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.6088, allocations: 0 / 0.6275 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.01407/0.6229, allocations: 8.559 MB / 0.6359 GB, free: 2.414 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)