Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001293/0.001293, allocations: 190.5 kB / 16.25 MB, free: 6.625 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.541/1.541, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4416/0.4416, allocations: 54.92 MB / 324.4 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.001365/0.001365, allocations: 63.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1556, allocations: 59.58 MB / 454.5 MB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.268/0.4237, allocations: 1.325 MB / 455.8 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000966/0.4247, allocations: 0.68 MB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.4247, allocations: 0 / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.4248, allocations: 3.844 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.4249, allocations: 2.812 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.4253, allocations: 99.02 kB / 456.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.4254, allocations: 24.7 kB / 456.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.4254, allocations: 3.844 kB / 456.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.4255, allocations: 6.812 kB / 456.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.4255, allocations: 11.92 kB / 456.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4255, allocations: 0 / 456.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.4258, allocations: 159.8 kB / 456.8 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.4258, allocations: 4.812 kB / 456.8 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.4259, allocations: 9.906 kB / 456.8 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.4261, allocations: 111.9 kB / 456.9 MB, free: 38.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4261, allocations: 2.812 kB / 456.9 MB, free: 38.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4261, allocations: 0 / 456.9 MB, free: 38.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4261, allocations: 0.5938 kB / 456.9 MB, free: 38.95 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003626/0.4265, allocations: 358.6 kB / 457.3 MB, free: 38.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4265, allocations: 6.781 kB / 457.3 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.4266, allocations: 7.906 kB / 457.3 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.165e-05/0.4266, allocations: 160.4 kB / 457.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.4267, allocations: 29.98 kB / 457.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.4267, allocations: 1.688 kB / 457.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4269, allocations: 50.59 kB / 457.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4269, allocations: 3.562 kB / 457.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4269, allocations: 1.188 kB / 457.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4269, allocations: 0 / 457.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.427, allocations: 11.73 kB / 457.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.4271, allocations: 152.8 kB / 457.7 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.4272, allocations: 35.75 kB / 457.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.4273, allocations: 17.05 kB / 457.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.4274, allocations: 91.09 kB / 457.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.4274, allocations: 30.56 kB / 457.8 MB, free: 37.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4274, allocations: 0 / 457.8 MB, free: 37.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002174/0.4277, allocations: 65 kB / 457.9 MB, free: 37.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.4277, allocations: 55.34 kB / 458 MB, free: 37.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.457e-05/0.4278, allocations: 100.8 kB / 458.1 MB, free: 37.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.4278, allocations: 25.7 kB / 458.1 MB, free: 37.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.481e-05/0.4278, allocations: 80.7 kB / 458.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.4278, allocations: 16.06 kB / 458.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.4279, allocations: 13.06 kB / 458.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.4279, allocations: 318.3 kB / 458.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.428, allocations: 6.375 kB / 458.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.428, allocations: 6 kB / 458.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.4281, allocations: 26.84 kB / 458.5 MB, free: 37.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4281, allocations: 0 / 458.5 MB, free: 37.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.96e-05/0.4282, allocations: 54.8 kB / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4282, allocations: 5.719 kB / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4282, allocations: 0 / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4283, allocations: 0.6875 kB / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.4283, allocations: 5.688 kB / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4283, allocations: 4.328 kB / 458.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.4284, allocations: 10.59 kB / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.4284, allocations: 2.203 kB / 458.6 MB, free: 37.27 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.131e-05/0.4284, allocations: 111.1 kB / 458.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.4285, allocations: 3.938 kB / 458.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.4286, allocations: 63.64 kB / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4286, allocations: 0 / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4286, allocations: 2.469 kB / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4286, allocations: 0 / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.975e-05/0.4287, allocations: 151.4 kB / 458.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4287, allocations: 3.938 kB / 458.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.4288, allocations: 9.734 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4288, allocations: 3.594 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.4288, allocations: 0 / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4288, allocations: 0.5 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4288, allocations: 5.188 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.4289, allocations: 69.92 kB / 459 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.429, allocations: 84.23 kB / 459.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.429, allocations: 3.406 kB / 459.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.429, allocations: 5.594 kB / 459.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.4291, allocations: 12.67 kB / 459.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.4291, allocations: 1.312 kB / 459.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.023e-05/0.4291, allocations: 79.28 kB / 459.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4291, allocations: 0 / 459.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.4293, allocations: 22.5 kB / 459.2 MB, free: 36.69 MB / 382.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 (3): * Single equations (assignments): 3 * 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.0001775/0.4295, allocations: 142.7 kB / 459.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.4296, allocations: 24.95 kB / 459.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4297, allocations: 0 / 459.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.4297, allocations: 11.3 kB / 459.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.4299, allocations: 9.719 kB / 459.4 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.4302, allocations: 129.9 kB / 459.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.4303, allocations: 0.6744 MB / 460.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.795e-05/0.4304, allocations: 4.297 kB / 460.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.4304, allocations: 15 kB / 460.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4304, allocations: 0 / 460.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of Templates: time 0.00298/0.4334, allocations: 0.87 MB / 461.1 MB, free: 35.71 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)