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.001209/0.001209, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01001/0.01001, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.773/1.773, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4343/0.4343, allocations: 55 MB / 325.7 MB, free: 0.6484 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.0006139/0.000614, allocations: 20 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4279, allocations: 60.71 MB / 458 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001618/0.4295, allocations: 1.359 MB / 459.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1942/0.6237, allocations: 147.7 MB / 0.5928 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.6239, allocations: 4 kB / 0.5928 GB, free: 1.906 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.6241, allocations: 15.86 kB / 0.5928 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.6243, allocations: 15.86 kB / 0.5928 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.625, allocations: 143.5 kB / 0.5929 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.6252, allocations: 127.6 kB / 0.5931 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.6254, allocations: 29.34 kB / 0.5931 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.6256, allocations: 71.77 kB / 0.5932 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.6257, allocations: 55.75 kB / 0.5932 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.6258, allocations: 4 kB / 0.5932 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.6263, allocations: 195.6 kB / 0.5934 GB, free: 1.266 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.6264, allocations: 11.94 kB / 0.5934 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.6265, allocations: 77.44 kB / 0.5935 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.6269, allocations: 211.4 kB / 0.5937 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6269, allocations: 4 kB / 0.5937 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.627, allocations: 0 / 0.5937 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.627, allocations: 0 / 0.5937 GB, free: 0.9609 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008602/0.6278, allocations: 0.5504 MB / 0.5942 GB, free: 348 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.6279, allocations: 12.03 kB / 0.5942 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.6289, allocations: 83.72 kB / 0.5943 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.6292, allocations: 199.4 kB / 0.5945 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.6292, allocations: 13.19 kB / 0.5945 GB, free: 0 / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.6293, allocations: 8.047 kB / 0.5945 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.6298, allocations: 166.2 kB / 0.5947 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6298, allocations: 3.938 kB / 0.5947 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.6298, allocations: 3.984 kB / 0.5947 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6298, allocations: 0 / 0.5947 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.6303, allocations: 157.4 kB / 0.5949 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.6312, allocations: 400.3 kB / 0.5952 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.6316, allocations: 122.4 kB / 0.5954 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.6319, allocations: 108.8 kB / 0.5955 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.632, allocations: 0 / 0.5955 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.632, allocations: 38.55 kB / 0.5955 GB, free: 14.94 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.632, allocations: 0 / 0.5955 GB, free: 14.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.001194/0.6332, allocations: 398.9 kB / 0.5959 GB, free: 14.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.6333, allocations: 122.8 kB / 0.596 GB, free: 14.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6335, allocations: 146.5 kB / 0.5961 GB, free: 14.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.6336, allocations: 29.7 kB / 0.5962 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.6337, allocations: 112.4 kB / 0.5963 GB, free: 14.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.6337, allocations: 19.72 kB / 0.5963 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.6338, allocations: 21.7 kB / 0.5963 GB, free: 14.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6339, allocations: 326.8 kB / 0.5966 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.6343, allocations: 111.9 kB / 0.5967 GB, free: 13.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.6347, allocations: 111.9 kB / 0.5968 GB, free: 13.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.6354, allocations: 400.7 kB / 0.5972 GB, free: 13.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6354, allocations: 0 / 0.5972 GB, free: 13.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009606/0.6364, allocations: 440.1 kB / 0.5976 GB, free: 12.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.6365, allocations: 134.7 kB / 0.5978 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6366, allocations: 1.125 kB / 0.5978 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.6366, allocations: 4 kB / 0.5978 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.6367, allocations: 16.73 kB / 0.5978 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.6368, allocations: 0 / 0.5978 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.637, allocations: 43.78 kB / 0.5978 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.6371, allocations: 8 kB / 0.5978 GB, free: 12.38 MB / 478.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 (masFra2.found,masFra2.i_nw,masFra2.i_w,masFra1.found,masFra1.i_nw,masFra1.i_w) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.6373, allocations: 185.2 kB / 0.598 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.6373, allocations: 19.8 kB / 0.598 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.6374, allocations: 10.31 kB / 0.598 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6374, allocations: 4 kB / 0.598 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6374, allocations: 4 kB / 0.598 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6374, allocations: 4.75 kB / 0.598 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.6377, allocations: 205.6 kB / 0.5982 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6377, allocations: 0 / 0.5982 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.6378, allocations: 19.98 kB / 0.5983 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6378, allocations: 0 / 0.5983 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.6378, allocations: 9.109 kB / 0.5983 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6378, allocations: 4 kB / 0.5983 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6378, allocations: 0 / 0.5983 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.6387, allocations: 442.5 kB / 0.5987 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.6387, allocations: 89.02 kB / 0.5988 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.6388, allocations: 4 kB / 0.5988 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.639, allocations: 31.91 kB / 0.5988 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.6391, allocations: 0 / 0.5988 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.6391, allocations: 11.92 kB / 0.5988 GB, free: 11.24 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.6392, allocations: 120.8 kB / 0.5989 GB, free: 11.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6392, allocations: 0 / 0.5989 GB, free: 11.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.6396, allocations: 47.91 kB / 0.599 GB, free: 11.07 MB / 478.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 (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.0003721/0.64, allocations: 135.8 kB / 0.5991 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009449/0.6409, allocations: 0.5181 MB / 0.5996 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6409, allocations: 0 / 0.5996 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.6414, allocations: 250.7 kB / 0.5999 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.6418, allocations: 30.7 kB / 0.5999 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.6426, allocations: 367.9 kB / 0.6002 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.6429, allocations: 0.7004 MB / 0.6009 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.945e-05/0.643, allocations: 4 kB / 0.6009 GB, free: 8.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.643, allocations: 15.44 kB / 0.6009 GB, free: 8.961 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/0.643, allocations: 0 / 0.6009 GB, free: 8.961 MB / 478.1 MB Notification: Performance of Templates: time 0.007336/0.6504, allocations: 3.008 MB / 0.6039 GB, free: 6.02 MB / 478.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: