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.007976/0.007976, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001906/0.001906, allocations: 192.4 kB / 16.67 MB, free: 5.973 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.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4705/0.4705, allocations: 54.94 MB / 324.8 MB, free: 28 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.001488/0.001489, allocations: 70.31 kB / 456.3 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1576, allocations: 59.59 MB / 0.5038 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.789/0.9467, allocations: 179.4 MB / 0.679 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009736/0.9565, allocations: 7.799 MB / 0.6866 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008722/0.9574, allocations: 17.53 kB / 0.6866 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.9587, allocations: 331 kB / 0.6869 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.9627, allocations: 1.138 MB / 0.6881 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.9659, allocations: 0.8459 MB / 0.6889 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.9686, allocations: 1.46 MB / 0.6903 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.9694, allocations: 498.8 kB / 0.6908 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.9724, allocations: 1.025 MB / 0.6918 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.9735, allocations: 0.5488 MB / 0.6923 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-05/0.9736, allocations: 60.97 kB / 0.6924 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.9753, allocations: 0.744 MB / 0.6931 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.9756, allocations: 244.9 kB / 0.6933 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.976, allocations: 354.4 kB / 0.6937 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.9777, allocations: 1.171 MB / 0.6948 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.9777, allocations: 0 / 0.6948 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9778, allocations: 0 / 0.6948 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.9778, allocations: 2.25 kB / 0.6948 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.00207/0.9799, allocations: 1.005 MB / 0.6958 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9799, allocations: 8.656 kB / 0.6958 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.9809, allocations: 155.4 kB / 0.696 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.9817, allocations: 459.4 kB / 0.6964 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.9817, allocations: 36.62 kB / 0.6964 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.9818, allocations: 60.31 kB / 0.6965 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/0.9828, allocations: 0.5216 MB / 0.697 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.9828, allocations: 0 / 0.697 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.148e-05/0.9829, allocations: 27.91 kB / 0.697 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.9829, allocations: 13.22 kB / 0.697 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.9837, allocations: 473.8 kB / 0.6975 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.9865, allocations: 1.856 MB / 0.6993 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.987, allocations: 337.3 kB / 0.6996 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.9874, allocations: 177.2 kB / 0.6998 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/0.9877, allocations: 127.3 kB / 0.6999 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.9878, allocations: 36.41 kB / 0.7 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.9878, allocations: 0 / 0.7 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.001146/0.989, allocations: 0.5439 MB / 0.7005 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.989, allocations: 64.67 kB / 0.7005 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.9896, allocations: 0.4941 MB / 0.701 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.9896, allocations: 34.69 kB / 0.7011 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.9898, allocations: 259.9 kB / 0.7013 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.9899, allocations: 116 kB / 0.7014 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.9901, allocations: 79.62 kB / 0.7015 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.9903, allocations: 367.9 kB / 0.7018 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.9906, allocations: 176.2 kB / 0.702 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.991, allocations: 231.1 kB / 0.7022 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/0.9917, allocations: 470.7 kB / 0.7027 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9918, allocations: 0 / 0.7027 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009354/0.9927, allocations: 0.5778 MB / 0.7032 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.9928, allocations: 59.09 kB / 0.7033 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9928, allocations: 3.094 kB / 0.7033 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.9928, allocations: 6.891 kB / 0.7033 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.9932, allocations: 79.75 kB / 0.7034 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9932, allocations: 4.781 kB / 0.7034 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.9935, allocations: 61.89 kB / 0.7035 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/0.9936, allocations: 18 kB / 0.7035 GB, free: 12.06 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.0002507/0.9939, allocations: 190.2 kB / 0.7037 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.994, allocations: 48.62 kB / 0.7037 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009748/0.9949, allocations: 481.4 kB / 0.7042 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.995, allocations: 9.812 kB / 0.7042 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.995, allocations: 0 / 0.7042 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.995, allocations: 3.938 kB / 0.7042 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.9966, allocations: 1.064 MB / 0.7052 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.9966, allocations: 6.656 kB / 0.7052 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.9969, allocations: 67.67 kB / 0.7053 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.9969, allocations: 10.56 kB / 0.7053 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.9969, allocations: 8.594 kB / 0.7053 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.997, allocations: 2.75 kB / 0.7053 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.997, allocations: 5.188 kB / 0.7053 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.9981, allocations: 0.7711 MB / 0.7061 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.9984, allocations: 186.8 kB / 0.7062 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.9984, allocations: 9.031 kB / 0.7062 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.9988, allocations: 21.81 kB / 0.7063 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.9989, allocations: 26.36 kB / 0.7063 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.999, allocations: 20.14 kB / 0.7063 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004118/0.9994, allocations: 359.9 kB / 0.7067 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9994, allocations: 0 / 0.7067 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005902/1, allocations: 159.6 kB / 0.7068 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.0004837/1, allocations: 182.3 kB / 0.707 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008982/1.001, allocations: 0.5147 MB / 0.7075 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.001, allocations: 2.531 kB / 0.7075 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/1.002, allocations: 191.4 kB / 0.7077 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.003, allocations: 314.2 kB / 0.708 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.005, allocations: 1.146 MB / 0.7091 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/1.006, allocations: 0.8689 MB / 0.7099 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004353/1.006, allocations: 119.2 kB / 0.7101 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/1.006, allocations: 48.89 kB / 0.7101 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/1.006, allocations: 0 / 0.7101 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of Templates: time 0.02059/1.027, allocations: 10.96 MB / 0.7208 GB, free: 0.793 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)