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.01137/0.01137, allocations: 101.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.002065/0.002065, allocations: 187.1 kB / 16.67 MB, free: 5.922 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.617/1.617, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4697/0.4697, allocations: 54.95 MB / 324.9 MB, free: 48 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.001942/0.001942, allocations: 74.28 kB / 456.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1507, allocations: 59.59 MB / 0.5038 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5586/0.7093, allocations: 161.4 MB / 0.6614 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005257/0.7146, allocations: 4.527 MB / 0.6658 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.7152, allocations: 8.406 kB / 0.6658 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.7161, allocations: 202.3 kB / 0.666 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.7174, allocations: 497.2 kB / 0.6665 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.7187, allocations: 362.7 kB / 0.6669 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.72, allocations: 0.9048 MB / 0.6677 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.7205, allocations: 286.1 kB / 0.668 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.7219, allocations: 0.5938 MB / 0.6686 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.7224, allocations: 309.2 kB / 0.6689 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.552e-05/0.7225, allocations: 32.06 kB / 0.6689 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.7228, allocations: 114 kB / 0.669 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.723, allocations: 163.5 kB / 0.6692 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.7233, allocations: 210.7 kB / 0.6694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008745/0.7242, allocations: 0.5584 MB / 0.6699 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.7242, allocations: 6.719 kB / 0.6699 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.658e-06/0.7242, allocations: 0 / 0.6699 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.7242, allocations: 1.203 kB / 0.6699 GB, free: 15.91 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001477/0.7257, allocations: 0.6782 MB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.7257, allocations: 10.25 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.726, allocations: 50.39 kB / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.7265, allocations: 336.8 kB / 0.671 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.7266, allocations: 24.09 kB / 0.671 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.7266, allocations: 28.97 kB / 0.671 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.7273, allocations: 393.9 kB / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.7273, allocations: 2.156 kB / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.7274, allocations: 13.8 kB / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7274, allocations: 15.84 kB / 0.6714 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.7279, allocations: 279.6 kB / 0.6717 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.7303, allocations: 1.426 MB / 0.6731 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.7305, allocations: 81.47 kB / 0.6732 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.7306, allocations: 49 kB / 0.6732 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.731, allocations: 117.6 kB / 0.6733 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.7311, allocations: 33.75 kB / 0.6734 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.7311, allocations: 1.094 kB / 0.6734 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005182/0.7316, allocations: 167.4 kB / 0.6735 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.7317, allocations: 53.94 kB / 0.6736 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.7321, allocations: 438.9 kB / 0.674 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.7322, allocations: 27.98 kB / 0.674 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.7323, allocations: 218.5 kB / 0.6742 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.7324, allocations: 31.61 kB / 0.6743 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.7325, allocations: 52.52 kB / 0.6743 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.7326, allocations: 348.8 kB / 0.6746 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.7328, allocations: 66.17 kB / 0.6747 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.733, allocations: 171.3 kB / 0.6749 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.7335, allocations: 238.9 kB / 0.6751 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7335, allocations: 2.281 kB / 0.6751 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004961/0.734, allocations: 290.9 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.734, allocations: 6.688 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.734, allocations: 3.594 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.734, allocations: 4.906 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.7343, allocations: 50.38 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7343, allocations: 8.531 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.7346, allocations: 47.05 kB / 0.6755 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.7346, allocations: 13.84 kB / 0.6755 GB, free: 13.04 MB / 0.5137 GB 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.0001908/0.7348, allocations: 176.6 kB / 0.6757 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.7348, allocations: 36.22 kB / 0.6757 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.7352, allocations: 150.5 kB / 0.6758 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7352, allocations: 0 / 0.6758 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7352, allocations: 3.281 kB / 0.6758 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.7352, allocations: 0.625 kB / 0.6758 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.7359, allocations: 0.527 MB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.7359, allocations: 0.5 kB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.736, allocations: 18.12 kB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.736, allocations: 0 / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.7361, allocations: 3.531 kB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7361, allocations: 3.031 kB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7361, allocations: 3.938 kB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.7366, allocations: 297.2 kB / 0.6767 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.7367, allocations: 137.8 kB / 0.6768 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.7368, allocations: 3.703 kB / 0.6768 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.737, allocations: 16.92 kB / 0.6768 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.7372, allocations: 13.55 kB / 0.6768 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.7372, allocations: 13.62 kB / 0.6769 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003078/0.7375, allocations: 311 kB / 0.6771 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.513e-06/0.7375, allocations: 0 / 0.6771 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004264/0.738, allocations: 90.42 kB / 0.6772 GB, free: 12.16 MB / 0.5137 GB 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.0003606/0.7383, allocations: 132.5 kB / 0.6774 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.7387, allocations: 159.8 kB / 0.6775 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7388, allocations: 3.531 kB / 0.6775 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.7389, allocations: 39.78 kB / 0.6776 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.7398, allocations: 178.9 kB / 0.6777 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.7409, allocations: 0.6235 MB / 0.6783 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.7413, allocations: 0.7894 MB / 0.6791 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.7415, allocations: 74.45 kB / 0.6792 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.7416, allocations: 25.25 kB / 0.6792 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.7416, allocations: 0 / 0.6792 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.01095/0.7526, allocations: 6.718 MB / 0.6858 GB, free: 10.37 MB / 0.5137 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)