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.001075/0.001075, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001452/0.001452, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4321/0.4321, allocations: 55.02 MB / 325.4 MB, free: 0.7109 MB / 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.0005462/0.0005462, allocations: 16 kB / 396.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4339, allocations: 60.72 MB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2109/0.6449, allocations: 163.2 MB / 0.606 GB, free: 4.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009774/0.6547, allocations: 7.252 MB / 0.6131 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006811/0.6554, allocations: 19.88 kB / 0.6131 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009207/0.6564, allocations: 222.6 kB / 0.6133 GB, free: 12.57 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003454/0.6598, allocations: 0.8406 MB / 0.6141 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.6628, allocations: 0.6067 MB / 0.6147 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003116/0.6659, allocations: 1.731 MB / 0.6164 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000823/0.6667, allocations: 387.4 kB / 0.6168 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.6692, allocations: 0.8289 MB / 0.6176 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.6702, allocations: 0.5489 MB / 0.6181 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.6702, allocations: 32 kB / 0.6181 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.6716, allocations: 431.2 kB / 0.6186 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.6718, allocations: 215.4 kB / 0.6188 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.672, allocations: 149.4 kB / 0.6189 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009071/0.6729, allocations: 0.7755 MB / 0.6197 GB, free: 6.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.673, allocations: 0 / 0.6197 GB, free: 6.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.673, allocations: 0 / 0.6197 GB, free: 6.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.673, allocations: 0 / 0.6197 GB, free: 6.031 MB / 494.1 MB 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.001553/0.6745, allocations: 0.8936 MB / 0.6205 GB, free: 5.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6746, allocations: 8.031 kB / 0.6205 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.6755, allocations: 147.2 kB / 0.6207 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.6762, allocations: 435.5 kB / 0.6211 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.6762, allocations: 46.11 kB / 0.6211 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.6763, allocations: 55.94 kB / 0.6212 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.6773, allocations: 0.514 MB / 0.6217 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6773, allocations: 0 / 0.6217 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.6774, allocations: 27.95 kB / 0.6217 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.6774, allocations: 12 kB / 0.6217 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/0.6782, allocations: 483.6 kB / 0.6222 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.6809, allocations: 1.862 MB / 0.624 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.6814, allocations: 342.2 kB / 0.6243 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.6817, allocations: 184.8 kB / 0.6245 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.6821, allocations: 141 kB / 0.6247 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.6821, allocations: 38.56 kB / 0.6247 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.6821, allocations: 0 / 0.6247 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.001041/0.6832, allocations: 0.5526 MB / 0.6252 GB, free: 36 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.6832, allocations: 59.39 kB / 0.6253 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.6838, allocations: 0.4941 MB / 0.6258 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.6839, allocations: 33.7 kB / 0.6258 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.6841, allocations: 259.9 kB / 0.6261 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6842, allocations: 114.4 kB / 0.6262 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.6842, allocations: 8 kB / 0.6262 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6844, allocations: 358.8 kB / 0.6265 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.6847, allocations: 180.8 kB / 0.6267 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.6851, allocations: 238.3 kB / 0.6269 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.6855, allocations: 251.1 kB / 0.6271 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6855, allocations: 0 / 0.6271 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009319/0.6864, allocations: 0.6009 MB / 0.6277 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.6865, allocations: 63.39 kB / 0.6278 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6865, allocations: 0 / 0.6278 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6865, allocations: 4 kB / 0.6278 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.6869, allocations: 88.72 kB / 0.6279 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.6869, allocations: 4.781 kB / 0.6279 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.6873, allocations: 79.28 kB / 0.628 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.6873, allocations: 16 kB / 0.628 GB, free: 13.11 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 (senHLat_flow.i_x,senHSen_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.6876, allocations: 191.5 kB / 0.6282 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.6877, allocations: 59.3 kB / 0.6282 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000866/0.6886, allocations: 485.3 kB / 0.6287 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6886, allocations: 4 kB / 0.6287 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6886, allocations: 0 / 0.6287 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.6886, allocations: 0 / 0.6287 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.6901, allocations: 1.08 MB / 0.6297 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6901, allocations: 4 kB / 0.6297 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.6904, allocations: 63.91 kB / 0.6298 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.6904, allocations: 4 kB / 0.6298 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.6904, allocations: 12.19 kB / 0.6298 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.6905, allocations: 4 kB / 0.6298 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6905, allocations: 0 / 0.6298 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.6916, allocations: 0.7848 MB / 0.6306 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.6919, allocations: 184.4 kB / 0.6308 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.6919, allocations: 12 kB / 0.6308 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.6923, allocations: 39.89 kB / 0.6308 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.6924, allocations: 32.8 kB / 0.6308 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.6924, allocations: 23.98 kB / 0.6309 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003694/0.6928, allocations: 350.8 kB / 0.6312 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6928, allocations: 0 / 0.6312 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005665/0.6934, allocations: 159.8 kB / 0.6314 GB, free: 9.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005033/0.6939, allocations: 191.4 kB / 0.6315 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008388/0.6948, allocations: 0.5105 MB / 0.632 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6948, allocations: 0 / 0.632 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.6951, allocations: 207.6 kB / 0.6322 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.6964, allocations: 297.2 kB / 0.6325 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.6982, allocations: 1.375 MB / 0.6339 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.6987, allocations: 0.8668 MB / 0.6347 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004488/0.6991, allocations: 126.2 kB / 0.6348 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.6992, allocations: 47.44 kB / 0.6349 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.6993, allocations: 0 / 0.6349 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of Templates: time 0.2739/0.9732, allocations: 9.972 MB / 0.6446 GB, free: 158.9 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: