Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007166/0.007166, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001547/0.001547, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2681/0.2681, allocations: 54.97 MB / 324.9 MB, free: 4.84 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.001626/0.001626, allocations: 71.84 kB / 456.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 59.6 MB / 0.5037 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4486/0.5691, allocations: 167.5 MB / 0.6673 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007906/0.5771, allocations: 6.51 MB / 0.6737 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.5775, allocations: 11.94 kB / 0.6737 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.5786, allocations: 254.4 kB / 0.674 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.581, allocations: 0.7583 MB / 0.6747 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.5823, allocations: 420.9 kB / 0.6751 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.5837, allocations: 1.092 MB / 0.6762 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007165/0.5844, allocations: 375 kB / 0.6765 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.5865, allocations: 0.7901 MB / 0.6773 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008189/0.5874, allocations: 382.6 kB / 0.6777 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.5875, allocations: 44 kB / 0.6777 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.5879, allocations: 123.8 kB / 0.6778 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.5882, allocations: 187.5 kB / 0.678 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.5886, allocations: 258.9 kB / 0.6782 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009214/0.5895, allocations: 0.6525 MB / 0.6789 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5896, allocations: 0 / 0.6789 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5896, allocations: 4 kB / 0.6789 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.5896, allocations: 0 / 0.6789 GB, free: 13.45 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001641/0.5913, allocations: 0.7483 MB / 0.6796 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5913, allocations: 16.03 kB / 0.6796 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.5917, allocations: 55.42 kB / 0.6797 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.5923, allocations: 385.9 kB / 0.6801 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.5924, allocations: 33 kB / 0.6801 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.5925, allocations: 36 kB / 0.6801 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.5933, allocations: 406.4 kB / 0.6805 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5933, allocations: 0 / 0.6805 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.5934, allocations: 16 kB / 0.6805 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5934, allocations: 8 kB / 0.6805 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.594, allocations: 335.7 kB / 0.6809 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.5962, allocations: 1.418 MB / 0.6822 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.5967, allocations: 182.7 kB / 0.6824 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.5969, allocations: 108.8 kB / 0.6825 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/0.5972, allocations: 125 kB / 0.6826 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.5973, allocations: 38.5 kB / 0.6827 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.5973, allocations: 0 / 0.6827 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0007446/0.598, allocations: 329.3 kB / 0.683 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.5981, allocations: 51.41 kB / 0.683 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.5985, allocations: 429.6 kB / 0.6834 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.5985, allocations: 29.7 kB / 0.6835 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.5987, allocations: 219.8 kB / 0.6837 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.5987, allocations: 59.11 kB / 0.6837 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.5988, allocations: 58.11 kB / 0.6838 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5989, allocations: 354.7 kB / 0.6841 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.5992, allocations: 95.94 kB / 0.6842 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5994, allocations: 155.1 kB / 0.6844 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.5998, allocations: 253.7 kB / 0.6846 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5999, allocations: 0 / 0.6846 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005923/0.6005, allocations: 328.8 kB / 0.6849 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.6005, allocations: 6.812 kB / 0.6849 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6005, allocations: 0 / 0.6849 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.6005, allocations: 4 kB / 0.6849 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.6008, allocations: 55.97 kB / 0.685 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6008, allocations: 7.875 kB / 0.685 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.6011, allocations: 48.83 kB / 0.685 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.6011, allocations: 11.94 kB / 0.6851 GB, free: 6.781 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 prepare postOptimizeDAE: time 0.0001764/0.6013, allocations: 173.8 kB / 0.6852 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.6014, allocations: 39.53 kB / 0.6853 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.6019, allocations: 275.5 kB / 0.6855 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.6019, allocations: 0 / 0.6855 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6019, allocations: 3.984 kB / 0.6855 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6019, allocations: 3.938 kB / 0.6855 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.603, allocations: 0.788 MB / 0.6863 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6031, allocations: 7.938 kB / 0.6863 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.6033, allocations: 40.16 kB / 0.6863 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6033, allocations: 0 / 0.6863 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.6033, allocations: 11.94 kB / 0.6864 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.6033, allocations: 4 kB / 0.6864 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6033, allocations: 0 / 0.6864 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/0.6041, allocations: 0.4998 MB / 0.6868 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.6043, allocations: 164.5 kB / 0.687 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.6044, allocations: 8 kB / 0.687 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.6047, allocations: 20.92 kB / 0.687 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.6048, allocations: 11.98 kB / 0.687 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.6048, allocations: 15.98 kB / 0.6871 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000308/0.6051, allocations: 311.1 kB / 0.6874 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6051, allocations: 0 / 0.6874 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004249/0.6056, allocations: 107.8 kB / 0.6875 GB, free: 4.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.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 (18): * Single equations (assignments): 18 * 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.0003512/0.6059, allocations: 146.4 kB / 0.6876 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.6065, allocations: 231.7 kB / 0.6878 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6065, allocations: 4 kB / 0.6878 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.6067, allocations: 113.5 kB / 0.6879 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6079, allocations: 239.7 kB / 0.6882 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6092, allocations: 0.8087 MB / 0.6889 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.6097, allocations: 0.8153 MB / 0.6897 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.61, allocations: 95.23 kB / 0.6898 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.6101, allocations: 31.44 kB / 0.6899 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.6101, allocations: 0 / 0.6899 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of Templates: time 0.01368/0.6238, allocations: 7.97 MB / 0.6976 GB, free: 9.793 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)