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.009872/0.009872, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00227/0.00227, allocations: 195 kB / 16.67 MB, free: 5.977 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.554/1.554, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4338/0.4338, allocations: 54.94 MB / 324.8 MB, free: 24 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.001736/0.001736, allocations: 67.16 kB / 456.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1323, allocations: 59.59 MB / 0.5038 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5801/0.7124, allocations: 179.4 MB / 0.679 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008197/0.7206, allocations: 7.804 MB / 0.6866 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.7213, allocations: 16.81 kB / 0.6866 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.7224, allocations: 325 kB / 0.6869 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.7249, allocations: 1.1 MB / 0.688 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.7268, allocations: 0.8337 MB / 0.6888 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.7281, allocations: 1.463 MB / 0.6902 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.7286, allocations: 495.5 kB / 0.6907 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.7303, allocations: 0.9923 MB / 0.6917 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.7309, allocations: 0.5497 MB / 0.6922 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.837e-05/0.731, allocations: 61.09 kB / 0.6923 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.7322, allocations: 0.7464 MB / 0.693 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.7324, allocations: 240 kB / 0.6932 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.7328, allocations: 360.1 kB / 0.6936 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.7341, allocations: 1.167 MB / 0.6947 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7341, allocations: 0 / 0.6947 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7341, allocations: 0 / 0.6947 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.7342, allocations: 0 / 0.6947 GB, free: 15.37 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.001551/0.7357, allocations: 1.023 MB / 0.6957 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.7358, allocations: 8.438 kB / 0.6957 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008366/0.7366, allocations: 155 kB / 0.6959 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.7373, allocations: 463.2 kB / 0.6963 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.7373, allocations: 40.91 kB / 0.6963 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.7374, allocations: 58.08 kB / 0.6964 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008673/0.7383, allocations: 0.5183 MB / 0.6969 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7383, allocations: 4 kB / 0.6969 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.7383, allocations: 29.55 kB / 0.6969 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.7384, allocations: 10.91 kB / 0.697 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.7391, allocations: 471.6 kB / 0.6974 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.7416, allocations: 1.866 MB / 0.6992 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.7421, allocations: 335.1 kB / 0.6995 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.7424, allocations: 176.5 kB / 0.6997 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.7427, allocations: 123.4 kB / 0.6998 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.7427, allocations: 38.59 kB / 0.6999 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.7427, allocations: 0 / 0.6999 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.0009949/0.7437, allocations: 0.5466 MB / 0.7004 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.7438, allocations: 62.28 kB / 0.7005 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.7443, allocations: 0.497 MB / 0.7009 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.7443, allocations: 37.89 kB / 0.701 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.7445, allocations: 258.4 kB / 0.7012 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.7446, allocations: 122.6 kB / 0.7013 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.7447, allocations: 83.14 kB / 0.7014 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7449, allocations: 361.1 kB / 0.7018 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.7452, allocations: 170.9 kB / 0.7019 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.7455, allocations: 240.5 kB / 0.7022 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.7462, allocations: 468.2 kB / 0.7026 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7462, allocations: 0 / 0.7026 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001231/0.7474, allocations: 0.577 MB / 0.7032 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.7475, allocations: 67.33 kB / 0.7032 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7475, allocations: 6.656 kB / 0.7032 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7475, allocations: 2 kB / 0.7032 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.7478, allocations: 84.27 kB / 0.7033 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.7479, allocations: 4.812 kB / 0.7033 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.7482, allocations: 62.7 kB / 0.7034 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.7482, allocations: 22.67 kB / 0.7034 GB, free: 12.02 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.0002018/0.7484, allocations: 181.7 kB / 0.7036 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.7485, allocations: 61.14 kB / 0.7036 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.7497, allocations: 481.7 kB / 0.7041 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7497, allocations: 2.094 kB / 0.7041 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7497, allocations: 0 / 0.7041 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.7497, allocations: 3.938 kB / 0.7041 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.7512, allocations: 1.068 MB / 0.7051 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.7512, allocations: 6.656 kB / 0.7052 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.7516, allocations: 58.22 kB / 0.7052 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.7516, allocations: 2.75 kB / 0.7052 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.7516, allocations: 11.81 kB / 0.7052 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.7516, allocations: 4.969 kB / 0.7052 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7516, allocations: 7.984 kB / 0.7052 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.7527, allocations: 0.7777 MB / 0.706 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.753, allocations: 188.3 kB / 0.7062 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.753, allocations: 11.53 kB / 0.7062 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.7535, allocations: 21.73 kB / 0.7062 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.7535, allocations: 21.66 kB / 0.7062 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.7536, allocations: 24.2 kB / 0.7063 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000331/0.7539, allocations: 357.9 kB / 0.7066 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.82e-07/0.7539, allocations: 0 / 0.7066 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004863/0.7544, allocations: 161 kB / 0.7067 GB, free: 10.55 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.0004535/0.7549, allocations: 188.2 kB / 0.7069 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000773/0.7557, allocations: 0.5174 MB / 0.7074 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7557, allocations: 384 / 0.7074 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.7561, allocations: 197.9 kB / 0.7076 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.7574, allocations: 300.9 kB / 0.7079 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.759, allocations: 1.16 MB / 0.709 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.7596, allocations: 0.8725 MB / 0.7099 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003635/0.76, allocations: 123.2 kB / 0.71 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.7601, allocations: 42.69 kB / 0.7101 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.7601, allocations: 3.938 kB / 0.7101 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of Templates: time 0.01965/0.7798, allocations: 10.94 MB / 0.7207 GB, free: 0.8945 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)