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.001709/0.001709, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001868/0.001869, allocations: 193.5 kB / 16.14 MB, free: 6.699 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.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4087/0.4087, allocations: 54.92 MB / 324.3 MB, free: 112 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.00146/0.00146, allocations: 68.28 kB / 394.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 59.59 MB / 454.3 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4241/0.5567, allocations: 159.3 MB / 0.5993 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005076/0.5619, allocations: 3.468 MB / 0.6027 GB, free: 5.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.5623, allocations: 7.938 kB / 0.6027 GB, free: 5.172 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007908/0.5632, allocations: 187 kB / 0.6028 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008531/0.564, allocations: 310.5 kB / 0.6031 GB, free: 4.684 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.5664, allocations: 0.6335 MB / 0.6038 GB, free: 4.055 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.568, allocations: 1.292 MB / 0.605 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.5685, allocations: 291.1 kB / 0.6053 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.5696, allocations: 446.2 kB / 0.6057 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.5701, allocations: 318.8 kB / 0.606 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.06e-05/0.5702, allocations: 20 kB / 0.606 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008721/0.5711, allocations: 351.3 kB / 0.6064 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.5713, allocations: 159.5 kB / 0.6065 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.5716, allocations: 226.9 kB / 0.6067 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008566/0.5724, allocations: 0.7323 MB / 0.6075 GB, free: 252 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5725, allocations: 4 kB / 0.6075 GB, free: 248 kB / 478.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.5725, allocations: 0 / 0.6075 GB, free: 248 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.5725, allocations: 0.6562 kB / 0.6075 GB, free: 248 kB / 478.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.001705/0.5742, allocations: 0.8136 MB / 0.6083 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5742, allocations: 8.031 kB / 0.6083 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/0.5747, allocations: 67.5 kB / 0.6083 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.5752, allocations: 341.1 kB / 0.6087 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.5753, allocations: 32.94 kB / 0.6087 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.5753, allocations: 40 kB / 0.6087 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.5763, allocations: 498 kB / 0.6092 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5763, allocations: 3.938 kB / 0.6092 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.5764, allocations: 19.94 kB / 0.6092 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.5764, allocations: 16 kB / 0.6092 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.5773, allocations: 391.6 kB / 0.6096 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.5797, allocations: 1.891 MB / 0.6115 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.5803, allocations: 266.3 kB / 0.6117 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.5806, allocations: 176.7 kB / 0.6119 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.581, allocations: 117 kB / 0.612 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.581, allocations: 41.2 kB / 0.612 GB, free: 11.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.5811, allocations: 1.219 kB / 0.612 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002623/0.5837, allocations: 0.7408 MB / 0.6128 GB, free: 10.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5837, allocations: 51.41 kB / 0.6128 GB, free: 10.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.5841, allocations: 312.5 kB / 0.6131 GB, free: 10.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.5842, allocations: 33.7 kB / 0.6131 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.5843, allocations: 212.1 kB / 0.6133 GB, free: 9.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.5844, allocations: 74.86 kB / 0.6134 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.5845, allocations: 53.61 kB / 0.6135 GB, free: 9.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5846, allocations: 350.7 kB / 0.6138 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.585, allocations: 153.2 kB / 0.6139 GB, free: 9.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.5854, allocations: 201 kB / 0.6141 GB, free: 9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/0.5862, allocations: 401 kB / 0.6145 GB, free: 8.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5862, allocations: 3.938 kB / 0.6145 GB, free: 8.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001483/0.5877, allocations: 0.5393 MB / 0.615 GB, free: 8.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.5877, allocations: 33.7 kB / 0.6151 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5877, allocations: 0 / 0.6151 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006681/0.5884, allocations: 116.9 kB / 0.6152 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.5888, allocations: 63.83 kB / 0.6153 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.591, allocations: 1.758 MB / 0.617 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.5914, allocations: 55.56 kB / 0.617 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.5914, allocations: 16 kB / 0.617 GB, free: 5.848 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.000199/0.5916, allocations: 166.8 kB / 0.6172 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.5917, allocations: 39.56 kB / 0.6172 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.5931, allocations: 499 kB / 0.6177 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5931, allocations: 4 kB / 0.6177 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5931, allocations: 0.5625 kB / 0.6177 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5931, allocations: 4 kB / 0.6177 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.5949, allocations: 0.958 MB / 0.6187 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.5949, allocations: 11.92 kB / 0.6187 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.5952, allocations: 49.41 kB / 0.6187 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005351/0.5957, allocations: 112.8 kB / 0.6188 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.5958, allocations: 8.656 kB / 0.6188 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.5978, allocations: 1.772 MB / 0.6206 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5978, allocations: 7.969 kB / 0.6206 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.5991, allocations: 0.5763 MB / 0.6211 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.5993, allocations: 148.7 kB / 0.6213 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.5994, allocations: 7.938 kB / 0.6213 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.5998, allocations: 51.8 kB / 0.6213 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/0.5999, allocations: 21.28 kB / 0.6213 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.5999, allocations: 16.67 kB / 0.6214 GB, free: 1.148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.6002, allocations: 223 kB / 0.6216 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6002, allocations: 3.938 kB / 0.6216 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.6008, allocations: 131.8 kB / 0.6217 GB, free: 0.7969 MB / 494.1 MB 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.0004873/0.6013, allocations: 173 kB / 0.6219 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.6025, allocations: 0.531 MB / 0.6224 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6025, allocations: 3.938 kB / 0.6224 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.6031, allocations: 319.9 kB / 0.6227 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.6041, allocations: 183.6 kB / 0.6229 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.6053, allocations: 0.8321 MB / 0.6237 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.6057, allocations: 0.8236 MB / 0.6245 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003269/0.606, allocations: 76.59 kB / 0.6246 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.6061, allocations: 31.42 kB / 0.6246 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.6061, allocations: 0 / 0.6246 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.01271/0.6189, allocations: 8.06 MB / 0.6325 GB, free: 5.844 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)