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.006598/0.006598, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001643/0.001644, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4288/0.4288, allocations: 54.94 MB / 324.8 MB, free: 15.93 MB / 270.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.001442/0.001442, allocations: 70.39 kB / 456.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.132, allocations: 59.59 MB / 0.5037 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.592/0.724, allocations: 179.4 MB / 0.6789 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008615/0.7327, allocations: 7.803 MB / 0.6866 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009465/0.7337, allocations: 16.88 kB / 0.6866 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.7348, allocations: 324.1 kB / 0.6869 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.7381, allocations: 1.099 MB / 0.688 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.7404, allocations: 0.837 MB / 0.6888 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002012/0.7424, allocations: 1.464 MB / 0.6902 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.7432, allocations: 495.3 kB / 0.6907 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.7456, allocations: 0.996 MB / 0.6916 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000866/0.7465, allocations: 0.5465 MB / 0.6922 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.7466, allocations: 61.03 kB / 0.6922 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.7483, allocations: 0.7426 MB / 0.693 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.7486, allocations: 241.8 kB / 0.6932 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.749, allocations: 358 kB / 0.6935 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.7507, allocations: 1.167 MB / 0.6947 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7507, allocations: 6.094 kB / 0.6947 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7507, allocations: 0 / 0.6947 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.7507, allocations: 0 / 0.6947 GB, free: 15.38 MB / 0.5137 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.001758/0.7525, allocations: 1.006 MB / 0.6957 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7525, allocations: 6.75 kB / 0.6957 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.7535, allocations: 154 kB / 0.6958 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.7542, allocations: 460.4 kB / 0.6963 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.7542, allocations: 34.94 kB / 0.6963 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.7543, allocations: 54.78 kB / 0.6963 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/0.7552, allocations: 0.5216 MB / 0.6968 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.7552, allocations: 0 / 0.6968 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.7553, allocations: 27.84 kB / 0.6969 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.7553, allocations: 11.16 kB / 0.6969 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008062/0.7561, allocations: 475.5 kB / 0.6973 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.759, allocations: 1.855 MB / 0.6992 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.7595, allocations: 338.9 kB / 0.6995 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.7598, allocations: 175.8 kB / 0.6996 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.7602, allocations: 121.3 kB / 0.6998 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.7603, allocations: 43.22 kB / 0.6998 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.7603, allocations: 0 / 0.6998 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.001056/0.7613, allocations: 0.5429 MB / 0.7003 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.7614, allocations: 59.89 kB / 0.7004 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.7619, allocations: 0.498 MB / 0.7009 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.762, allocations: 35.64 kB / 0.7009 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.7621, allocations: 261.2 kB / 0.7012 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/0.7622, allocations: 124.9 kB / 0.7013 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.7624, allocations: 79.42 kB / 0.7013 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7625, allocations: 363.6 kB / 0.7017 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.7628, allocations: 169.4 kB / 0.7019 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.7632, allocations: 239.1 kB / 0.7021 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.7638, allocations: 469.4 kB / 0.7025 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7639, allocations: 0 / 0.7025 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009137/0.7648, allocations: 0.571 MB / 0.7031 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.7648, allocations: 60.64 kB / 0.7031 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7649, allocations: 2.406 kB / 0.7032 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7649, allocations: 6.156 kB / 0.7032 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.7653, allocations: 81.38 kB / 0.7032 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7653, allocations: 5.938 kB / 0.7032 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.7656, allocations: 63.73 kB / 0.7033 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.7657, allocations: 17.03 kB / 0.7033 GB, free: 12.07 MB / 0.5137 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.0002366/0.7659, allocations: 186 kB / 0.7035 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.766, allocations: 51.31 kB / 0.7035 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009025/0.7669, allocations: 483.9 kB / 0.704 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.7669, allocations: 6.469 kB / 0.704 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.767, allocations: 0 / 0.704 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.767, allocations: 10.14 kB / 0.704 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.7685, allocations: 1.071 MB / 0.7051 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/0.7685, allocations: 3.938 kB / 0.7051 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.7688, allocations: 61.53 kB / 0.7051 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.7688, allocations: 3.594 kB / 0.7051 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.7689, allocations: 10.53 kB / 0.7051 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.7689, allocations: 2.25 kB / 0.7051 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7689, allocations: 3 kB / 0.7051 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.7699, allocations: 0.7761 MB / 0.7059 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.7702, allocations: 189.3 kB / 0.7061 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.7702, allocations: 6.562 kB / 0.7061 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.7706, allocations: 27.09 kB / 0.7061 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.7707, allocations: 24.19 kB / 0.7061 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.7707, allocations: 19.98 kB / 0.7062 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003468/0.7711, allocations: 354.8 kB / 0.7065 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7711, allocations: 0 / 0.7065 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005644/0.7717, allocations: 167.4 kB / 0.7067 GB, free: 10.59 MB / 0.5137 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.0004433/0.7721, allocations: 184.9 kB / 0.7068 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008336/0.773, allocations: 0.513 MB / 0.7073 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.773, allocations: 0 / 0.7073 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.7733, allocations: 192.5 kB / 0.7075 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.7746, allocations: 305.1 kB / 0.7078 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.7764, allocations: 1.151 MB / 0.7089 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.7769, allocations: 0.8714 MB / 0.7098 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004053/0.7773, allocations: 127.3 kB / 0.7099 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.7774, allocations: 45.44 kB / 0.71 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.7774, allocations: 0 / 0.71 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.01961/0.7971, allocations: 11.14 MB / 0.7208 GB, free: 0.7344 MB / 0.5137 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)