Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.01126/0.01126, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7957/0.7957, allocations: 135.2 MB / 151 MB, free: 13.83 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.657/1.657, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0009161/0.0009161, allocations: 97.38 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004101, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3947, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5489, allocations: 113 MB / 0.7599 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.5493, allocations: 83.89 kB / 0.76 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00918/0.5585, allocations: 2.71 MB / 0.7626 GB, free: 176 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5586, allocations: 0 / 0.7626 GB, free: 176 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5586, allocations: 0 / 0.7626 GB, free: 176 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000532/0.5591, allocations: 371.1 kB / 0.763 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5592, allocations: 8.031 kB / 0.763 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.5592, allocations: 34.5 kB / 0.763 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.5593, allocations: 7.984 kB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5594, allocations: 163 kB / 0.7632 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.5595, allocations: 33.7 kB / 0.7632 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.5595, allocations: 0 / 0.7632 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.5597, allocations: 41.69 kB / 0.7632 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5597, allocations: 7.984 kB / 0.7632 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5598, allocations: 4 kB / 0.7633 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5598, allocations: 3.984 kB / 0.7633 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.5599, allocations: 11.98 kB / 0.7633 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.5601, allocations: 173.6 kB / 0.7634 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.5603, allocations: 38.56 kB / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.5606, allocations: 190.3 kB / 0.7637 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.5607, allocations: 30.56 kB / 0.7637 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.5607, allocations: 0 / 0.7637 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002658/0.5609, allocations: 69.61 kB / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.561, allocations: 51.41 kB / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.5611, allocations: 89 kB / 0.7639 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5611, allocations: 29.7 kB / 0.7639 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.5611, allocations: 84.14 kB / 0.764 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.5612, allocations: 15.69 kB / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.5612, allocations: 0 / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5614, allocations: 322.8 kB / 0.7643 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.5614, allocations: 8 kB / 0.7643 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.5615, allocations: 11.98 kB / 0.7643 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.5615, allocations: 8 kB / 0.7643 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5615, allocations: 4 kB / 0.7643 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.5617, allocations: 57.67 kB / 0.7644 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5617, allocations: 8 kB / 0.7644 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5617, allocations: 3.984 kB / 0.7644 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5617, allocations: 3.938 kB / 0.7644 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.5618, allocations: 12 kB / 0.7644 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.5618, allocations: 0 / 0.7644 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.5618, allocations: 3.906 kB / 0.7644 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.5618, allocations: 0 / 0.7644 GB, free: 14.05 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 (4): * Single equations (assignments): 4 * 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 9.605e-05/0.562, allocations: 127.8 kB / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.562, allocations: 0 / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.5622, allocations: 69.17 kB / 0.7646 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5622, allocations: 0 / 0.7646 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5622, allocations: 0 / 0.7646 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5622, allocations: 0.5625 kB / 0.7646 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.5623, allocations: 161.6 kB / 0.7648 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5624, allocations: 3.938 kB / 0.7648 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.5624, allocations: 8 kB / 0.7648 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.5624, allocations: 0 / 0.7648 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5624, allocations: 7.984 kB / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5624, allocations: 0 / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5624, allocations: 0 / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.5626, allocations: 81.11 kB / 0.7649 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.5627, allocations: 88.95 kB / 0.765 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.5627, allocations: 0 / 0.765 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.5628, allocations: 8 kB / 0.765 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.5628, allocations: 7.984 kB / 0.765 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5628, allocations: 4 kB / 0.765 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.5629, allocations: 75.28 kB / 0.765 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.794e-06/0.5629, allocations: 0 / 0.765 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002626/0.5632, allocations: 43.88 kB / 0.7651 GB, free: 13.27 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 (4): * Single equations (assignments): 4 * 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.0006281/0.5638, allocations: 0.667 MB / 0.7657 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.5639, allocations: 23.98 kB / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5639, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.564, allocations: 19.92 kB / 0.7658 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.5642, allocations: 4 kB / 0.7658 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.5646, allocations: 189.3 kB / 0.766 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.5649, allocations: 0.677 MB / 0.7666 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.128e-05/0.565, allocations: 8 kB / 0.7666 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.565, allocations: 11.44 kB / 0.7666 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of SimCode: time 2.194e-06/0.565, allocations: 0 / 0.7666 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.5784, allocations: 1.615 MB / 0.7682 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.5786, allocations: 183.4 kB / 0.7684 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.198, allocations: 0 / 0.7684 GB, free: 9.852 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)