Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6965/0.6965, allocations: 130.6 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 396.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 98.59 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.716e-05, allocations: 3.969 kB / 0.5551 GB, free: 85.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 81.58 MB / 0.6347 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6119/0.7902, allocations: 113 MB / 0.7451 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.7904, allocations: 72.98 kB / 0.7452 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007755/0.7982, allocations: 2.541 MB / 0.7476 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7982, allocations: 0 / 0.7476 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.7983, allocations: 0 / 0.7476 GB, free: 27.87 MB / 0.5105 GB 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.0004637/0.7987, allocations: 404.6 kB / 0.748 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7988, allocations: 7.719 kB / 0.748 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.7988, allocations: 3.844 kB / 0.748 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.799, allocations: 178.7 kB / 0.7482 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.799, allocations: 3.047 kB / 0.7482 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.799, allocations: 7.938 kB / 0.7482 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.7991, allocations: 49.69 kB / 0.7483 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.7992, allocations: 4 kB / 0.7483 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7992, allocations: 0 / 0.7483 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7992, allocations: 0 / 0.7483 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.7993, allocations: 29.34 kB / 0.7483 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.7996, allocations: 284.8 kB / 0.7486 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.974e-05/0.7997, allocations: 28.73 kB / 0.7486 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.7998, allocations: 19.73 kB / 0.7486 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.7999, allocations: 90.98 kB / 0.7487 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.8, allocations: 37.5 kB / 0.7487 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.8, allocations: 3.812 kB / 0.7487 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000165/0.8002, allocations: 49.67 kB / 0.7488 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.8002, allocations: 55.25 kB / 0.7488 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.8003, allocations: 114.2 kB / 0.749 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.8003, allocations: 25.7 kB / 0.749 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.8004, allocations: 90.33 kB / 0.7491 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.8004, allocations: 14 kB / 0.7491 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.8004, allocations: 3.375 kB / 0.7491 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8005, allocations: 317.3 kB / 0.7494 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.8006, allocations: 7.312 kB / 0.7494 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.8006, allocations: 7.125 kB / 0.7494 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.8006, allocations: 7.281 kB / 0.7494 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8006, allocations: 7.812 kB / 0.7494 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.704e-05/0.8007, allocations: 54.42 kB / 0.7495 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.8007, allocations: 3.875 kB / 0.7495 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.8007, allocations: 0 / 0.7495 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8008, allocations: 192 / 0.7495 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.8009, allocations: 21.56 kB / 0.7495 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.8009, allocations: 3.953 kB / 0.7495 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.801, allocations: 21.48 kB / 0.7495 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.801, allocations: 7.891 kB / 0.7495 GB, free: 26.12 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.8011, allocations: 108.3 kB / 0.7496 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.8011, allocations: 7.688 kB / 0.7496 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.8012, allocations: 65.42 kB / 0.7497 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8013, allocations: 2.062 kB / 0.7497 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8013, allocations: 0 / 0.7497 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8013, allocations: 11.89 kB / 0.7497 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.8014, allocations: 166.9 kB / 0.7499 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.8014, allocations: 0 / 0.7499 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.8015, allocations: 21.19 kB / 0.7499 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8016, allocations: 0 / 0.7499 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.8016, allocations: 3.875 kB / 0.7499 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8016, allocations: 0 / 0.7499 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8016, allocations: 0 / 0.7499 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.8017, allocations: 162.2 kB / 0.75 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.8018, allocations: 81.02 kB / 0.7501 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8018, allocations: 0 / 0.7501 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.8019, allocations: 17.39 kB / 0.7501 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.802, allocations: 9.984 kB / 0.7502 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.802, allocations: 3.812 kB / 0.7502 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.802, allocations: 90.8 kB / 0.7502 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.802, allocations: 0 / 0.7502 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002524/0.8023, allocations: 41.34 kB / 0.7503 GB, free: 25.43 MB / 0.5105 GB 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 () * 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 (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.0002143/0.8025, allocations: 133.1 kB / 0.7504 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.8026, allocations: 23.41 kB / 0.7504 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8026, allocations: 0 / 0.7504 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.8026, allocations: 15.06 kB / 0.7504 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.8028, allocations: 17.81 kB / 0.7505 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.803, allocations: 82.17 kB / 0.7505 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.8033, allocations: 0.6874 MB / 0.7512 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.436e-05/0.8033, allocations: 8.141 kB / 0.7512 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.8034, allocations: 7.438 kB / 0.7512 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8034, allocations: 7.656 kB / 0.7512 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.003303/0.8067, allocations: 1.141 MB / 0.7523 GB, free: 24.44 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)