Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007809/0.007809, allocations: 171.1 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-master/package.mo): time 0.8269/0.8269, allocations: 135.2 MB / 151 MB, free: 13.84 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.463/1.463, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0008806/0.0008806, allocations: 97.8 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004531, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.412, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.5615, allocations: 113.3 MB / 0.7602 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5618, allocations: 75.95 kB / 0.7602 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008343/0.5701, allocations: 2.541 MB / 0.7627 GB, free: 44 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5702, allocations: 0 / 0.7627 GB, free: 44 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.5702, allocations: 0 / 0.7627 GB, free: 44 kB / 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.0005589/0.5707, allocations: 419 kB / 0.7631 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5708, allocations: 8.031 kB / 0.7631 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.5709, allocations: 38.5 kB / 0.7632 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.5709, allocations: 7.906 kB / 0.7632 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.571, allocations: 167 kB / 0.7633 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.5711, allocations: 4 kB / 0.7633 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.5711, allocations: 4 kB / 0.7633 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.5714, allocations: 85.62 kB / 0.7634 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.5714, allocations: 0 / 0.7634 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5714, allocations: 4 kB / 0.7634 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5714, allocations: 8 kB / 0.7634 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.5717, allocations: 91.86 kB / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.5721, allocations: 284.7 kB / 0.7638 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.5724, allocations: 66.55 kB / 0.7639 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.5726, allocations: 89.19 kB / 0.7639 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5726, allocations: 38.48 kB / 0.764 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5726, allocations: 0 / 0.764 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.000564/0.5732, allocations: 165.5 kB / 0.7641 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.5732, allocations: 59.36 kB / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.5733, allocations: 105 kB / 0.7643 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.5733, allocations: 25.7 kB / 0.7643 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.5734, allocations: 96.06 kB / 0.7644 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5734, allocations: 7.906 kB / 0.7644 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.5734, allocations: 0 / 0.7644 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5736, allocations: 314.8 kB / 0.7647 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5737, allocations: 43.95 kB / 0.7648 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.5739, allocations: 43.97 kB / 0.7648 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.574, allocations: 47.89 kB / 0.7649 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.574, allocations: 3.938 kB / 0.7649 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003216/0.5743, allocations: 121.5 kB / 0.765 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5744, allocations: 8 kB / 0.765 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5744, allocations: 0 / 0.765 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5744, allocations: 336 / 0.765 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5746, allocations: 27.98 kB / 0.765 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5746, allocations: 0 / 0.765 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.5747, allocations: 27.92 kB / 0.765 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5747, allocations: 4 kB / 0.765 GB, free: 13.44 MB / 0.5417 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.279e-05/0.5748, allocations: 105.8 kB / 0.7651 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.5748, allocations: 11.89 kB / 0.7652 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.5752, allocations: 133.5 kB / 0.7653 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5752, allocations: 0 / 0.7653 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5752, allocations: 0 / 0.7653 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5753, allocations: 0 / 0.7653 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.5754, allocations: 173.6 kB / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5754, allocations: 0 / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.5756, allocations: 23.98 kB / 0.7655 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5756, allocations: 0 / 0.7655 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5756, allocations: 4 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5756, allocations: 4 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5756, allocations: 3.984 kB / 0.7655 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.576, allocations: 219.3 kB / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.576, allocations: 85.05 kB / 0.7658 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5761, allocations: 0 / 0.7658 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.5762, allocations: 23.97 kB / 0.7658 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.5762, allocations: 4 kB / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.5762, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.5763, allocations: 91.27 kB / 0.7659 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5763, allocations: 0 / 0.7659 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002752/0.5766, allocations: 28 kB / 0.7659 GB, free: 12.44 MB / 0.5417 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.0007639/0.5774, allocations: 0.8043 MB / 0.7667 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.5777, allocations: 95.86 kB / 0.7668 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5777, allocations: 3.938 kB / 0.7668 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.5779, allocations: 43.97 kB / 0.7668 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.5781, allocations: 12.75 kB / 0.7668 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.5792, allocations: 0.5666 MB / 0.7674 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5795, allocations: 0.6887 MB / 0.7681 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.5795, allocations: 4 kB / 0.7681 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.5796, allocations: 23.42 kB / 0.7681 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.5796, allocations: 0 / 0.7681 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.5941, allocations: 2.015 MB / 0.7701 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.5943, allocations: 175.5 kB / 0.7702 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.19, allocations: 7.938 kB / 0.7702 GB, free: 7.949 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)