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-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_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_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.006744/0.006744, allocations: 172.4 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8287/0.8287, allocations: 135.2 MB / 151 MB, free: 13.81 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.493/1.493, allocations: 223.1 MB / 406.8 MB, free: 3.246 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.0009419/0.0009418, allocations: 90.2 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 8 kB / 0.5692 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4156, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.5558, allocations: 113.3 MB / 0.7602 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5561, allocations: 75.95 kB / 0.7603 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008513/0.5646, allocations: 2.541 MB / 0.7627 GB, free: 96 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5647, allocations: 0 / 0.7627 GB, free: 96 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5647, allocations: 3.938 kB / 0.7627 GB, free: 92 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.0005236/0.5652, allocations: 415 kB / 0.7631 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5653, allocations: 12.03 kB / 0.7631 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.5653, allocations: 38.55 kB / 0.7632 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.5654, allocations: 7.906 kB / 0.7632 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5655, allocations: 167 kB / 0.7633 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5655, allocations: 8 kB / 0.7634 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.5655, allocations: 0 / 0.7634 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.5658, allocations: 85.64 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5658, allocations: 4 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.5658, allocations: 0 / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5658, allocations: 4 kB / 0.7634 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.5661, allocations: 87.92 kB / 0.7635 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.5666, allocations: 292.6 kB / 0.7638 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.5668, allocations: 62.55 kB / 0.7639 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.567, allocations: 93.19 kB / 0.764 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.567, allocations: 30.56 kB / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.567, allocations: 0 / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.000554/0.5676, allocations: 173.4 kB / 0.7642 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.5676, allocations: 55.36 kB / 0.7642 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.5677, allocations: 105 kB / 0.7643 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.5678, allocations: 25.7 kB / 0.7643 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.5678, allocations: 96.12 kB / 0.7644 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.5678, allocations: 7.969 kB / 0.7644 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.5678, allocations: 0 / 0.7644 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.568, allocations: 322.8 kB / 0.7647 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.5681, allocations: 43.95 kB / 0.7648 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.5683, allocations: 43.91 kB / 0.7648 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.5684, allocations: 43.95 kB / 0.7649 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5684, allocations: 0 / 0.7649 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000333/0.5687, allocations: 125.5 kB / 0.765 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5688, allocations: 8 kB / 0.765 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5688, allocations: 4 kB / 0.765 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5688, allocations: 0 / 0.765 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5689, allocations: 19.98 kB / 0.765 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5689, allocations: 0 / 0.765 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.569, allocations: 27.92 kB / 0.765 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.5691, allocations: 0 / 0.765 GB, free: 13.49 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 7.829e-05/0.5691, allocations: 117.8 kB / 0.7652 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.5692, allocations: 3.906 kB / 0.7652 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.5696, allocations: 137.8 kB / 0.7653 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5696, allocations: 0 / 0.7653 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5696, allocations: 0 / 0.7653 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5696, allocations: 4.031 kB / 0.7653 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.5698, allocations: 177.6 kB / 0.7655 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5698, allocations: 0 / 0.7655 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.5699, allocations: 19.98 kB / 0.7655 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.5699, allocations: 4 kB / 0.7655 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5699, allocations: 4 kB / 0.7655 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5699, allocations: 0 / 0.7655 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5699, allocations: 0 / 0.7655 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.5703, allocations: 219.3 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.5704, allocations: 89.11 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.5704, allocations: 0 / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.5705, allocations: 15.98 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.5706, allocations: 3.984 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.5706, allocations: 7.938 kB / 0.7658 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.5706, allocations: 91.27 kB / 0.7659 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5706, allocations: 0 / 0.7659 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002958/0.5709, allocations: 35.94 kB / 0.7659 GB, free: 12.47 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.0007854/0.5717, allocations: 0.7903 MB / 0.7667 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.5721, allocations: 87.92 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5721, allocations: 3.938 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.5723, allocations: 51.95 kB / 0.7668 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.5725, allocations: 8 kB / 0.7668 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5736, allocations: 0.5744 MB / 0.7674 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.5739, allocations: 0.6848 MB / 0.7681 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.5739, allocations: 8 kB / 0.7681 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.574, allocations: 11.44 kB / 0.7681 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.574, allocations: 3.938 kB / 0.7681 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.5876, allocations: 2.019 MB / 0.7701 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.5879, allocations: 160 kB / 0.7702 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.148, allocations: 0 / 0.7702 GB, free: 8.012 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)