Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.822/1.822, allocations: 289.9 MB / 297.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 172.9 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008427/0.0008425, allocations: 82.61 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.943e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8226, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/1.053, allocations: 140.2 MB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.053, allocations: 76.59 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008696/1.062, allocations: 2.487 MB / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/1.062, allocations: 0 / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.062, allocations: 4 kB / 1.113 GB, free: 7.387 MB / 0.7136 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.0005946/1.063, allocations: 402.3 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.063, allocations: 8.031 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/1.063, allocations: 4 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/1.063, allocations: 174.9 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.063, allocations: 0 / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/1.063, allocations: 0 / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/1.063, allocations: 23.94 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/1.063, allocations: 45.69 kB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/1.063, allocations: 0 / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.063, allocations: 4 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.063, allocations: 3.391 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/1.064, allocations: 258.6 kB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.838e-05/1.064, allocations: 34.52 kB / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/1.064, allocations: 16.86 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/1.064, allocations: 93.19 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.064, allocations: 35.19 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/1.064, allocations: 0 / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0004966/1.065, allocations: 77.56 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/1.065, allocations: 51.41 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/1.065, allocations: 99.91 kB / 1.114 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/1.065, allocations: 25.7 kB / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/1.065, allocations: 96.12 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/1.065, allocations: 15.75 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/1.065, allocations: 0 / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.065, allocations: 318.8 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/1.065, allocations: 15.94 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/1.065, allocations: 12.03 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/1.065, allocations: 27.97 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.065, allocations: 0 / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002648/1.066, allocations: 81.66 kB / 1.115 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.066, allocations: 4 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.066, allocations: 0 / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.066, allocations: 4 kB / 1.115 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.066, allocations: 15.98 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.066, allocations: 4 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/1.066, allocations: 19.97 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/1.066, allocations: 4 kB / 1.115 GB, free: 5.246 MB / 0.7136 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 7.782e-05/1.066, allocations: 104.9 kB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002664/1.066, allocations: 77.52 kB / 1.115 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/1.066, allocations: 7.984 kB / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/1.067, allocations: 80.3 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.067, allocations: 0 / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.067, allocations: 0 / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.067, allocations: 11.95 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/1.067, allocations: 150.2 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.067, allocations: 1.219 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.067, allocations: 18.05 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.067, allocations: 4 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/1.067, allocations: 0 / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/1.067, allocations: 3.938 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.067, allocations: 0 / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/1.067, allocations: 179.4 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/1.067, allocations: 77.11 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/1.067, allocations: 7.984 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.068, allocations: 15.98 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/1.068, allocations: 0 / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/1.068, allocations: 4 kB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.089e-05/1.068, allocations: 93.42 kB / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/1.068, allocations: 0 / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002701/1.068, allocations: 35.94 kB / 1.115 GB, free: 4.297 MB / 0.7136 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.000691/1.069, allocations: 0.7574 MB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.851e-05/1.069, allocations: 20.27 kB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.069, allocations: 0 / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/1.069, allocations: 12 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/1.069, allocations: 15.92 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/1.069, allocations: 117.5 kB / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/1.07, allocations: 0.6903 MB / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.795e-05/1.07, allocations: 7.969 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/1.07, allocations: 15.44 kB / 1.117 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.07, allocations: 0 / 1.117 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/1.09, allocations: 1.588 MB / 1.119 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/1.091, allocations: 137.3 kB / 1.119 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.759, allocations: 5.062 kB / 1.119 GB, free: 0.8438 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)