Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, 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.001534/0.001534, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.607/1.607, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4101/0.4101, allocations: 54.93 MB / 324.3 MB, free: 140 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.002046/0.002046, allocations: 68.38 kB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1528, allocations: 59.59 MB / 454.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.43/0.5828, allocations: 177.2 MB / 0.6167 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009008/0.5919, allocations: 7.843 MB / 0.6243 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.5925, allocations: 15.88 kB / 0.6244 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.5935, allocations: 266.5 kB / 0.6246 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.596, allocations: 1.023 MB / 0.6256 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.598, allocations: 0.7691 MB / 0.6264 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.6003, allocations: 2.055 MB / 0.6284 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.6009, allocations: 418.3 kB / 0.6288 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.6029, allocations: 0.895 MB / 0.6296 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.6037, allocations: 0.58 MB / 0.6302 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.6038, allocations: 37.22 kB / 0.6302 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.6053, allocations: 0.799 MB / 0.631 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.6056, allocations: 215.4 kB / 0.6312 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.6059, allocations: 338.4 kB / 0.6316 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.6073, allocations: 1.161 MB / 0.6327 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6073, allocations: 0 / 0.6327 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6074, allocations: 0 / 0.6327 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.6074, allocations: 0 / 0.6327 GB, free: 6.219 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001829/0.6092, allocations: 1.006 MB / 0.6337 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6093, allocations: 12.03 kB / 0.6337 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.6102, allocations: 147.2 kB / 0.6338 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.6109, allocations: 440.6 kB / 0.6342 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.611, allocations: 41 kB / 0.6343 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.6111, allocations: 57.31 kB / 0.6343 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000923/0.612, allocations: 0.5186 MB / 0.6348 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.612, allocations: 4 kB / 0.6348 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.6121, allocations: 27.88 kB / 0.6349 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.6121, allocations: 12 kB / 0.6349 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/0.6129, allocations: 471.7 kB / 0.6353 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.6156, allocations: 1.858 MB / 0.6371 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.6161, allocations: 327.3 kB / 0.6375 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.6164, allocations: 176.7 kB / 0.6376 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/0.6168, allocations: 129 kB / 0.6378 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.6168, allocations: 38.55 kB / 0.6378 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.6168, allocations: 0 / 0.6378 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001048/0.6179, allocations: 0.5442 MB / 0.6383 GB, free: 164 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.6179, allocations: 67.31 kB / 0.6384 GB, free: 84 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2389/0.8568, allocations: 0.4934 MB / 0.6389 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.857, allocations: 37.64 kB / 0.6389 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.8572, allocations: 258.7 kB / 0.6391 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.8573, allocations: 123.5 kB / 0.6393 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.8574, allocations: 76.58 kB / 0.6393 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.8575, allocations: 359.8 kB / 0.6397 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.8579, allocations: 169.6 kB / 0.6398 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.8582, allocations: 237.2 kB / 0.6401 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.8588, allocations: 463.4 kB / 0.6405 GB, free: 163 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8588, allocations: 0 / 0.6405 GB, free: 163 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008353/0.8596, allocations: 0.579 MB / 0.6411 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.8597, allocations: 64.64 kB / 0.6411 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8597, allocations: 3.719 kB / 0.6411 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8597, allocations: 2.719 kB / 0.6411 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.8601, allocations: 84.44 kB / 0.6412 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8601, allocations: 9.125 kB / 0.6412 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.8605, allocations: 72.41 kB / 0.6413 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.8605, allocations: 15.56 kB / 0.6413 GB, free: 162.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (senHSen_flow.i_x,senHLat_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.8607, allocations: 197 kB / 0.6415 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.8608, allocations: 51.69 kB / 0.6416 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.8616, allocations: 477.6 kB / 0.642 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8616, allocations: 4.625 kB / 0.642 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8616, allocations: 0 / 0.642 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.8617, allocations: 3.234 kB / 0.642 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.8629, allocations: 1.066 MB / 0.6431 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8629, allocations: 3.375 kB / 0.6431 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.8633, allocations: 61.11 kB / 0.6431 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8633, allocations: 4.594 kB / 0.6431 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.8633, allocations: 8.438 kB / 0.6431 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8633, allocations: 6.281 kB / 0.6431 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8633, allocations: 3.375 kB / 0.6431 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.8643, allocations: 0.7724 MB / 0.6439 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.8645, allocations: 179.4 kB / 0.6441 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/0.8646, allocations: 12.38 kB / 0.6441 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.865, allocations: 32.17 kB / 0.6441 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.8652, allocations: 32.28 kB / 0.6441 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.8652, allocations: 20.84 kB / 0.6442 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002916/0.8655, allocations: 362 kB / 0.6445 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8655, allocations: 0 / 0.6445 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004942/0.866, allocations: 161.8 kB / 0.6447 GB, free: 161.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004301/0.8665, allocations: 192.5 kB / 0.6448 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007192/0.8672, allocations: 0.51 MB / 0.6453 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8672, allocations: 2.5 kB / 0.6453 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.8675, allocations: 195.8 kB / 0.6455 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.8688, allocations: 294.3 kB / 0.6458 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.8703, allocations: 1.338 MB / 0.6471 GB, free: 161 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.8706, allocations: 0.8671 MB / 0.648 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004094/0.871, allocations: 125.4 kB / 0.6481 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.8711, allocations: 48.28 kB / 0.6481 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.8711, allocations: 0 / 0.6481 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.01685/0.888, allocations: 10.38 MB / 0.6583 GB, free: 159.7 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)