Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.001638/0.001638, allocations: 173.3 kB / 15.95 MB, free: 212 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.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4053/0.4053, allocations: 54.98 MB / 325.4 MB, free: 0.7461 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.0005471/0.0005472, allocations: 23.98 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3813, allocations: 60.72 MB / 457.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001473/0.3828, allocations: 1.319 MB / 458.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1409/0.5237, allocations: 127.9 MB / 0.5728 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.5239, allocations: 0 / 0.5728 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.524, allocations: 11.91 kB / 0.5728 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.5241, allocations: 31.94 kB / 0.5728 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.5246, allocations: 143.6 kB / 0.573 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.5248, allocations: 87.83 kB / 0.573 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.5249, allocations: 22.12 kB / 0.5731 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.525, allocations: 55.84 kB / 0.5731 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.5251, allocations: 51.77 kB / 0.5732 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.5251, allocations: 4 kB / 0.5732 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.5256, allocations: 195.7 kB / 0.5734 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.5256, allocations: 15.92 kB / 0.5734 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.5257, allocations: 45.64 kB / 0.5734 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.5259, allocations: 158.6 kB / 0.5736 GB, free: 5.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.5259, allocations: 2.719 kB / 0.5736 GB, free: 5.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5259, allocations: 0 / 0.5736 GB, free: 5.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.526, allocations: 0 / 0.5736 GB, free: 5.297 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000664/0.5266, allocations: 0.5425 MB / 0.5741 GB, free: 4.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5267, allocations: 12.02 kB / 0.5741 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009126/0.5276, allocations: 86.47 kB / 0.5742 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.5278, allocations: 202.9 kB / 0.5744 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.5279, allocations: 8 kB / 0.5744 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.5279, allocations: 9.719 kB / 0.5744 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.5284, allocations: 177.5 kB / 0.5746 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5284, allocations: 0 / 0.5746 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5284, allocations: 0 / 0.5746 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.5284, allocations: 0 / 0.5746 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.5289, allocations: 157.6 kB / 0.5747 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.5296, allocations: 405.2 kB / 0.5751 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.53, allocations: 126.5 kB / 0.5752 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.53, allocations: 0 / 0.5752 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.53, allocations: 30.56 kB / 0.5753 GB, free: 3.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.53, allocations: 4 kB / 0.5753 GB, free: 3.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001184/0.5312, allocations: 0.574 MB / 0.5758 GB, free: 2.758 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.5313, allocations: 114.8 kB / 0.5759 GB, free: 2.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5314, allocations: 154.3 kB / 0.5761 GB, free: 2.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.5314, allocations: 29.7 kB / 0.5761 GB, free: 2.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.5315, allocations: 100.3 kB / 0.5762 GB, free: 2.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.5316, allocations: 35.75 kB / 0.5762 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5316, allocations: 4 kB / 0.5762 GB, free: 2.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5317, allocations: 318.8 kB / 0.5765 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.532, allocations: 127.9 kB / 0.5767 GB, free: 1.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.5324, allocations: 121.3 kB / 0.5768 GB, free: 1.723 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.5328, allocations: 244.5 kB / 0.577 GB, free: 1.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5328, allocations: 0 / 0.577 GB, free: 1.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009159/0.5337, allocations: 458.4 kB / 0.5775 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.361e-05/0.5338, allocations: 130.8 kB / 0.5776 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5339, allocations: 0 / 0.5776 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5339, allocations: 4 kB / 0.5776 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.534, allocations: 17.11 kB / 0.5776 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.534, allocations: 5.234 kB / 0.5776 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.5343, allocations: 43.78 kB / 0.5776 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.5343, allocations: 11.98 kB / 0.5777 GB, free: 0.7539 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (masFra1.i_w,masFra1.i_nw,masFra1.found,masFra2.i_w,masFra2.i_nw,masFra2.found) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 4 * 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.0001754/0.5345, allocations: 189.2 kB / 0.5778 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.5346, allocations: 7.906 kB / 0.5778 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.5346, allocations: 4.719 kB / 0.5779 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5346, allocations: 4 kB / 0.5779 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5346, allocations: 0 / 0.5779 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5346, allocations: 0 / 0.5779 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.5348, allocations: 213.5 kB / 0.5781 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5349, allocations: 6.297 kB / 0.5781 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.535, allocations: 19.98 kB / 0.5781 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.535, allocations: 0 / 0.5781 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.535, allocations: 4 kB / 0.5781 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.535, allocations: 0 / 0.5781 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.535, allocations: 3.938 kB / 0.5781 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.5359, allocations: 470.4 kB / 0.5785 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.536, allocations: 89.52 kB / 0.5786 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.536, allocations: 4 kB / 0.5786 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.5362, allocations: 24.06 kB / 0.5787 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.5363, allocations: 11.97 kB / 0.5787 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.5363, allocations: 5.625 kB / 0.5787 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.928e-05/0.5364, allocations: 118.1 kB / 0.5788 GB, free: 15.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5364, allocations: 0 / 0.5788 GB, free: 15.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.5368, allocations: 48.88 kB / 0.5788 GB, free: 15.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002656/0.537, allocations: 120.7 kB / 0.5789 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009106/0.538, allocations: 0.5365 MB / 0.5795 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.538, allocations: 0 / 0.5795 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.5384, allocations: 258.7 kB / 0.5797 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.5387, allocations: 33.17 kB / 0.5797 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.5394, allocations: 359.9 kB / 0.5801 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.5397, allocations: 0.7082 MB / 0.5808 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.611e-05/0.5398, allocations: 4 kB / 0.5808 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.5398, allocations: 7.438 kB / 0.5808 GB, free: 13.32 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5398, allocations: 0 / 0.5808 GB, free: 13.32 MB / 462.1 MB Notification: Performance of Templates: time 0.006075/0.5459, allocations: 2.938 MB / 0.5837 GB, free: 10.45 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: