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.008288/0.008288, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8195/0.8195, allocations: 132.3 MB / 148.1 MB, free: 204 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 403.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008807/0.0008806, allocations: 95.94 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 8 kB / 0.5641 GB, free: 2.102 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.534, allocations: 81.58 MB / 0.6437 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.7076, allocations: 113.1 MB / 0.7542 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.7079, allocations: 71.97 kB / 0.7542 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008714/0.7167, allocations: 2.549 MB / 0.7567 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.242e-06/0.7167, allocations: 4 kB / 0.7567 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.7167, allocations: 0 / 0.7567 GB, free: 4.227 MB / 0.5261 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.0006022/0.7173, allocations: 407 kB / 0.7571 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.7174, allocations: 8.031 kB / 0.7571 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.7174, allocations: 11.84 kB / 0.7571 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.7176, allocations: 171 kB / 0.7573 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.7176, allocations: 4 kB / 0.7573 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7176, allocations: 8 kB / 0.7573 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.7179, allocations: 81.64 kB / 0.7574 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7179, allocations: 0 / 0.7574 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7179, allocations: 0 / 0.7574 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.718, allocations: 0 / 0.7574 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.7183, allocations: 103.8 kB / 0.7575 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.7187, allocations: 284.7 kB / 0.7578 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.7189, allocations: 70.53 kB / 0.7578 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.7191, allocations: 93.19 kB / 0.7579 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.7191, allocations: 30.56 kB / 0.7579 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.7192, allocations: 0 / 0.7579 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005695/0.7197, allocations: 169.4 kB / 0.7581 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.7198, allocations: 59.36 kB / 0.7582 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.7199, allocations: 109 kB / 0.7583 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.7199, allocations: 29.64 kB / 0.7583 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.7199, allocations: 84.14 kB / 0.7584 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.72, allocations: 7.906 kB / 0.7584 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.72, allocations: 4 kB / 0.7584 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7201, allocations: 318.8 kB / 0.7587 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.7203, allocations: 39.97 kB / 0.7587 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.7204, allocations: 47.95 kB / 0.7588 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.7206, allocations: 39.97 kB / 0.7588 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.7206, allocations: 0 / 0.7588 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003511/0.7209, allocations: 129.4 kB / 0.7589 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.721, allocations: 5.875 kB / 0.7589 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.721, allocations: 4 kB / 0.7589 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.721, allocations: 0 / 0.7589 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.7211, allocations: 23.97 kB / 0.759 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.7212, allocations: 0 / 0.759 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.7213, allocations: 19.94 kB / 0.759 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.7213, allocations: 4 kB / 0.759 GB, free: 1.68 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.439e-05/0.7214, allocations: 116.6 kB / 0.7591 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.7214, allocations: 7.906 kB / 0.7591 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.7218, allocations: 129.5 kB / 0.7592 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7218, allocations: 8.359 kB / 0.7592 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7218, allocations: 0 / 0.7592 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7218, allocations: 0 / 0.7592 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.722, allocations: 169.6 kB / 0.7594 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.722, allocations: 3.984 kB / 0.7594 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.7221, allocations: 27.97 kB / 0.7594 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7221, allocations: 0 / 0.7594 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7221, allocations: 0 / 0.7594 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7221, allocations: 0 / 0.7594 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7221, allocations: 0 / 0.7594 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.7225, allocations: 223.4 kB / 0.7596 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.7226, allocations: 89 kB / 0.7597 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.7226, allocations: 0 / 0.7597 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.7227, allocations: 19.98 kB / 0.7597 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.7228, allocations: 11.98 kB / 0.7598 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.7228, allocations: 0 / 0.7598 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.7228, allocations: 87.28 kB / 0.7598 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7228, allocations: 0 / 0.7598 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003153/0.7231, allocations: 39.92 kB / 0.7599 GB, free: 0.6602 MB / 0.5261 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 () * 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 (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.0002289/0.7234, allocations: 135.2 kB / 0.76 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.7237, allocations: 91.92 kB / 0.7601 GB, free: 440 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7237, allocations: 0 / 0.7601 GB, free: 440 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.7239, allocations: 59.83 kB / 0.7602 GB, free: 380 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.7241, allocations: 11.95 kB / 0.7602 GB, free: 368 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.7245, allocations: 166.5 kB / 0.7603 GB, free: 176 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.7247, allocations: 0.6887 MB / 0.761 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.7248, allocations: 4 kB / 0.761 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.7248, allocations: 11.44 kB / 0.761 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.7249, allocations: 0 / 0.761 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of Templates: time 0.003501/0.7284, allocations: 1.129 MB / 0.7621 GB, free: 14.32 MB / 0.5417 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)