Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 108 kB / 15.6 MB, free: 132 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.00191/0.001911, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.616/1.616, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4478/0.4478, allocations: 54.95 MB / 324.7 MB, free: 15.88 MB / 270.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.001513/0.001513, allocations: 75.88 kB / 395.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 59.59 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.2321/0.3606, allocations: 1.47 MB / 456.4 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009147/0.3616, allocations: 0.7334 MB / 457.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.3616, allocations: 0 / 457.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.3617, allocations: 7.688 kB / 457.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.3617, allocations: 10.78 kB / 457.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.3621, allocations: 115.4 kB / 457.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.3622, allocations: 53.02 kB / 457.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.3623, allocations: 14.42 kB / 457.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.3624, allocations: 27.83 kB / 457.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.3624, allocations: 24.31 kB / 457.4 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3624, allocations: 5.25 kB / 457.4 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.3627, allocations: 158.1 kB / 457.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3627, allocations: 15.92 kB / 457.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.3628, allocations: 25.16 kB / 457.6 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.363, allocations: 130.9 kB / 457.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.363, allocations: 2.875 kB / 457.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.363, allocations: 1 kB / 457.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.363, allocations: 2.25 kB / 457.7 MB, free: 38.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004609/0.3635, allocations: 384.9 kB / 458.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3635, allocations: 19.47 kB / 458.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.3636, allocations: 6.969 kB / 458.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.244e-05/0.3637, allocations: 175 kB / 458.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3637, allocations: 7.297 kB / 458.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3637, allocations: 3.281 kB / 458.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.364, allocations: 85.84 kB / 458.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.364, allocations: 0 / 458.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.364, allocations: 0 / 458.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.364, allocations: 0 / 458.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.3643, allocations: 71.34 kB / 458.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.3646, allocations: 279.8 kB / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3648, allocations: 56.72 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.365, allocations: 39.23 kB / 458.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.3652, allocations: 93.42 kB / 458.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3652, allocations: 33.19 kB / 458.9 MB, free: 37.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3652, allocations: 0 / 458.9 MB, free: 37.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005349/0.3658, allocations: 134.9 kB / 459.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3658, allocations: 52.41 kB / 459.1 MB, free: 37.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.3659, allocations: 118.3 kB / 459.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.3659, allocations: 27.55 kB / 459.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.3659, allocations: 86.61 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.366, allocations: 14.56 kB / 459.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.366, allocations: 16.27 kB / 459.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.3661, allocations: 319.2 kB / 459.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3662, allocations: 32.75 kB / 459.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3663, allocations: 36.41 kB / 459.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.3666, allocations: 71.84 kB / 459.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3666, allocations: 0 / 459.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002938/0.3669, allocations: 94.53 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3669, allocations: 8.625 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.367, allocations: 0 / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.367, allocations: 0 / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3671, allocations: 25.28 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3671, allocations: 1.531 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.3672, allocations: 17.25 kB / 460 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3672, allocations: 5.312 kB / 460 MB, free: 36.98 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.211e-05/0.3673, allocations: 112.6 kB / 460.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3673, allocations: 7.531 kB / 460.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.3677, allocations: 111.6 kB / 460.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3677, allocations: 1.5 kB / 460.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3677, allocations: 0 / 460.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3677, allocations: 6.5 kB / 460.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.3678, allocations: 175.2 kB / 460.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3678, allocations: 3.375 kB / 460.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.3679, allocations: 15.19 kB / 460.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3679, allocations: 0 / 460.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3679, allocations: 0.6562 kB / 460.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3679, allocations: 0 / 460.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3679, allocations: 0 / 460.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3683, allocations: 206.7 kB / 460.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.3683, allocations: 80.73 kB / 460.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3683, allocations: 0 / 460.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3684, allocations: 14.09 kB / 460.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.3685, allocations: 3.594 kB / 460.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3685, allocations: 1.125 kB / 460.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.3686, allocations: 97.98 kB / 460.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3686, allocations: 2.219 kB / 460.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3688, allocations: 39.81 kB / 460.8 MB, free: 36.31 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.0001763/0.369, allocations: 128.6 kB / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.3693, allocations: 70.84 kB / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3693, allocations: 0 / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3695, allocations: 40.09 kB / 461.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3698, allocations: 14.84 kB / 461.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.3701, allocations: 152.9 kB / 461.2 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.3702, allocations: 0.681 MB / 461.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.3703, allocations: 3.609 kB / 461.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.3703, allocations: 10.56 kB / 461.9 MB, free: 35.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3703, allocations: 4 kB / 461.9 MB, free: 35.39 MB / 382.1 MB Notification: Performance of Templates: time 0.003801/0.3741, allocations: 1.372 MB / 463.3 MB, free: 35.31 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)