Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001002/0.001002, allocations: 177.3 kB / 15.95 MB, free: 216 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.401/1.401, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3995/0.3995, allocations: 54.99 MB / 325.4 MB, free: 0.6523 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.0005154/0.0005155, allocations: 16 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3188, allocations: 60.72 MB / 457.3 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1528/0.4717, allocations: 135.5 MB / 0.5789 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.4761, allocations: 3.654 MB / 0.5825 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.4764, allocations: 7.938 kB / 0.5825 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.477, allocations: 151.3 kB / 0.5827 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008153/0.4778, allocations: 323 kB / 0.583 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008179/0.4786, allocations: 294.6 kB / 0.5832 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007381/0.4794, allocations: 0.4926 MB / 0.5837 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.4798, allocations: 219.8 kB / 0.5839 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.4808, allocations: 466.6 kB / 0.5844 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.4811, allocations: 207.3 kB / 0.5846 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.4812, allocations: 16 kB / 0.5846 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.4814, allocations: 83.88 kB / 0.5847 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.4816, allocations: 136.7 kB / 0.5848 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.4817, allocations: 97.52 kB / 0.5849 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.4821, allocations: 415.8 kB / 0.5853 GB, free: 9.297 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.4821, allocations: 0 / 0.5853 GB, free: 9.297 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4822, allocations: 0 / 0.5853 GB, free: 9.297 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4822, allocations: 0 / 0.5853 GB, free: 9.297 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00104/0.4832, allocations: 0.5943 MB / 0.5859 GB, free: 8.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4833, allocations: 8.031 kB / 0.5859 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.4835, allocations: 50.23 kB / 0.5859 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.484, allocations: 316 kB / 0.5862 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.484, allocations: 30.38 kB / 0.5863 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.4841, allocations: 29.22 kB / 0.5863 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.4847, allocations: 393.8 kB / 0.5867 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4848, allocations: 0 / 0.5867 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.4848, allocations: 12 kB / 0.5867 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.4848, allocations: 15.89 kB / 0.5867 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.4854, allocations: 298.4 kB / 0.587 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.4875, allocations: 1.425 MB / 0.5884 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.4877, allocations: 90.59 kB / 0.5885 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003527/0.4881, allocations: 129 kB / 0.5886 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4881, allocations: 35.19 kB / 0.5886 GB, free: 5.656 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4881, allocations: 0 / 0.5886 GB, free: 5.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004869/0.4886, allocations: 189.1 kB / 0.5888 GB, free: 5.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.4887, allocations: 52.62 kB / 0.5888 GB, free: 5.402 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.4891, allocations: 433.5 kB / 0.5893 GB, free: 4.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4891, allocations: 29.7 kB / 0.5893 GB, free: 4.938 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4893, allocations: 215.5 kB / 0.5895 GB, free: 4.723 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.4893, allocations: 35.62 kB / 0.5895 GB, free: 4.688 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.4894, allocations: 4 kB / 0.5895 GB, free: 4.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4895, allocations: 346.8 kB / 0.5899 GB, free: 4.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4897, allocations: 71.94 kB / 0.5899 GB, free: 4.266 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.4899, allocations: 170.5 kB / 0.5901 GB, free: 4.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.4901, allocations: 95.95 kB / 0.5902 GB, free: 3.961 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4901, allocations: 0 / 0.5902 GB, free: 3.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005253/0.4907, allocations: 298.5 kB / 0.5905 GB, free: 3.664 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4907, allocations: 8.375 kB / 0.5905 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4907, allocations: 5.844 kB / 0.5905 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4907, allocations: 19.88 kB / 0.5905 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.491, allocations: 51.91 kB / 0.5905 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.491, allocations: 7.984 kB / 0.5906 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.4913, allocations: 47.53 kB / 0.5906 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.4913, allocations: 20 kB / 0.5906 GB, free: 3.508 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (26): * Single equations (assignments): 26 * 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 prepare postOptimizeDAE: time 0.0001735/0.4915, allocations: 165.7 kB / 0.5908 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.4916, allocations: 31.62 kB / 0.5908 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.4919, allocations: 161.5 kB / 0.591 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.492, allocations: 3.953 kB / 0.591 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.492, allocations: 3.938 kB / 0.591 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.492, allocations: 4 kB / 0.591 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.4927, allocations: 0.535 MB / 0.5915 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4927, allocations: 2.406 kB / 0.5915 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4929, allocations: 19.98 kB / 0.5915 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4929, allocations: 3.953 kB / 0.5915 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4929, allocations: 8 kB / 0.5915 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4929, allocations: 0 / 0.5915 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4929, allocations: 0 / 0.5915 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.4934, allocations: 336.2 kB / 0.5918 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.4936, allocations: 140.7 kB / 0.592 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.4937, allocations: 0.75 kB / 0.592 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.494, allocations: 23.92 kB / 0.592 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.494, allocations: 7.984 kB / 0.592 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.494, allocations: 16.05 kB / 0.592 GB, free: 1.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003017/0.4944, allocations: 307.1 kB / 0.5923 GB, free: 1.641 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4944, allocations: 0.8438 kB / 0.5923 GB, free: 1.641 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.4948, allocations: 91.91 kB / 0.5924 GB, free: 1.551 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senStr.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 (7): * Single equations (assignments): 7 * 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.0003038/0.4951, allocations: 139.7 kB / 0.5925 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.4955, allocations: 159.8 kB / 0.5927 GB, free: 1.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4955, allocations: 0 / 0.5927 GB, free: 1.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4956, allocations: 56.78 kB / 0.5927 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009163/0.4966, allocations: 172.9 kB / 0.5929 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.4976, allocations: 0.7126 MB / 0.5936 GB, free: 304 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.4979, allocations: 0.7999 MB / 0.5944 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.4982, allocations: 72.06 kB / 0.5945 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.4983, allocations: 27.44 kB / 0.5945 GB, free: 15.38 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4983, allocations: 0 / 0.5945 GB, free: 15.38 MB / 478.1 MB Notification: Performance of Templates: time 0.01063/0.5089, allocations: 6.132 MB / 0.6005 GB, free: 9.348 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: