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.001606/0.001606, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001818, allocations: 187.4 kB / 16.64 MB, free: 6.594 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.746/1.746, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.94 MB / 324.8 MB, free: 56 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.001507/0.001507, allocations: 67.91 kB / 396.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4747, allocations: 59.58 MB / 455.8 MB, free: 40.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2144/0.6892, allocations: 161.4 MB / 0.6027 GB, free: 5.996 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.6947, allocations: 4.528 MB / 0.6071 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.6952, allocations: 4 kB / 0.6071 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.6961, allocations: 218.7 kB / 0.6073 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.6973, allocations: 489.6 kB / 0.6078 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009372/0.6982, allocations: 364.3 kB / 0.6081 GB, free: 420 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.6993, allocations: 0.9088 MB / 0.609 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.6997, allocations: 279 kB / 0.6093 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.701, allocations: 0.5915 MB / 0.6098 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.7014, allocations: 295 kB / 0.6101 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.7015, allocations: 35.28 kB / 0.6102 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.7017, allocations: 119.8 kB / 0.6103 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.7019, allocations: 155.6 kB / 0.6104 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.7022, allocations: 219.1 kB / 0.6106 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.7028, allocations: 0.5491 MB / 0.6112 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7029, allocations: 3.938 kB / 0.6112 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7029, allocations: 4 kB / 0.6112 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.7029, allocations: 0 / 0.6112 GB, free: 13.27 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001174/0.7041, allocations: 0.6715 MB / 0.6118 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.7041, allocations: 8.031 kB / 0.6118 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.7043, allocations: 55.45 kB / 0.6119 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.7048, allocations: 319.8 kB / 0.6122 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.7048, allocations: 36.59 kB / 0.6122 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.7049, allocations: 28 kB / 0.6123 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.7056, allocations: 393.8 kB / 0.6126 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.7056, allocations: 0 / 0.6126 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.7056, allocations: 16 kB / 0.6126 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.7057, allocations: 11.94 kB / 0.6127 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.7062, allocations: 282.4 kB / 0.6129 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.7084, allocations: 1.422 MB / 0.6143 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.7087, allocations: 86.53 kB / 0.6144 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.7088, allocations: 40.84 kB / 0.6144 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.7092, allocations: 117 kB / 0.6146 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.7093, allocations: 35.06 kB / 0.6146 GB, free: 9.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 3.797e-06/0.7093, allocations: 3.984 kB / 0.6146 GB, free: 9.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005653/0.7099, allocations: 182.1 kB / 0.6148 GB, free: 9.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.7099, allocations: 51.41 kB / 0.6148 GB, free: 9.281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.7104, allocations: 425.6 kB / 0.6152 GB, free: 8.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.7105, allocations: 33.7 kB / 0.6152 GB, free: 8.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.7107, allocations: 219.3 kB / 0.6155 GB, free: 8.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.7107, allocations: 27.64 kB / 0.6155 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-05/0.7108, allocations: 49.61 kB / 0.6155 GB, free: 8.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.711, allocations: 350.8 kB / 0.6159 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.7111, allocations: 71.94 kB / 0.6159 GB, free: 8.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.7114, allocations: 163.3 kB / 0.6161 GB, free: 7.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.7118, allocations: 242.6 kB / 0.6163 GB, free: 7.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7118, allocations: 4 kB / 0.6163 GB, free: 7.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005071/0.7123, allocations: 280.9 kB / 0.6166 GB, free: 7.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7124, allocations: 4.781 kB / 0.6166 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.7124, allocations: 4.375 kB / 0.6166 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.7124, allocations: 8 kB / 0.6166 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.7126, allocations: 55.91 kB / 0.6167 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7126, allocations: 4.844 kB / 0.6167 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.7129, allocations: 43.52 kB / 0.6167 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.7129, allocations: 12 kB / 0.6167 GB, free: 7.199 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.7131, allocations: 173.6 kB / 0.6169 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.7132, allocations: 35.62 kB / 0.6169 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.7136, allocations: 150.5 kB / 0.6171 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.7136, allocations: 4 kB / 0.6171 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7136, allocations: 0 / 0.6171 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7136, allocations: 0 / 0.6171 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.7144, allocations: 0.5257 MB / 0.6176 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7144, allocations: 4.031 kB / 0.6176 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.7145, allocations: 15.98 kB / 0.6176 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.7145, allocations: 4 kB / 0.6176 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.7145, allocations: 7.984 kB / 0.6176 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.7145, allocations: 0 / 0.6176 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7145, allocations: 3.938 kB / 0.6176 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.715, allocations: 298.4 kB / 0.6179 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.7152, allocations: 132.7 kB / 0.618 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.7152, allocations: 4 kB / 0.618 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.7155, allocations: 15.97 kB / 0.618 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.7156, allocations: 11.94 kB / 0.6181 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.7156, allocations: 17.67 kB / 0.6181 GB, free: 5.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.7159, allocations: 307.1 kB / 0.6184 GB, free: 5.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7159, allocations: 0 / 0.6184 GB, free: 5.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.7164, allocations: 95.91 kB / 0.6185 GB, free: 5.305 MB / 494.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 (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.0003397/0.7167, allocations: 138.2 kB / 0.6186 GB, free: 5.168 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004087/0.7171, allocations: 147.8 kB / 0.6187 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7171, allocations: 4.594 kB / 0.6187 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.7173, allocations: 45.59 kB / 0.6188 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.7182, allocations: 194.2 kB / 0.619 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.7192, allocations: 0.5957 MB / 0.6195 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.7196, allocations: 0.7918 MB / 0.6203 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.7199, allocations: 69.81 kB / 0.6204 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.7199, allocations: 27.44 kB / 0.6204 GB, free: 3.277 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7199, allocations: 4 kB / 0.6204 GB, free: 3.273 MB / 494.1 MB Notification: Performance of Templates: time 0.01212/0.7321, allocations: 6.669 MB / 0.6269 GB, free: 12.71 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (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)