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.599/1.599, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001199/0.001199, allocations: 179.2 kB / 371.6 MB, free: 3.422 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.984/1.984, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009928/0.0009931, allocations: 91.36 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.033e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2888, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9667/1.256, allocations: 140.9 MB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.256, allocations: 72 kB / 1.118 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007918/1.264, allocations: 2.504 MB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.014e-06/1.264, allocations: 0 / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.382e-05/1.264, allocations: 0 / 1.12 GB, free: 41.65 MB / 0.7448 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.0005101/1.264, allocations: 396.6 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.265, allocations: 8.031 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/1.265, allocations: 37.25 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/1.265, allocations: 4.062 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/1.265, allocations: 176.9 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.265, allocations: 11.27 kB / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/1.265, allocations: 0 / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/1.265, allocations: 51.44 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/1.265, allocations: 0 / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/1.265, allocations: 0 / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.265, allocations: 0.8438 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/1.265, allocations: 23.25 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/1.265, allocations: 294 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.785e-05/1.266, allocations: 26.27 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/1.266, allocations: 18.42 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/1.266, allocations: 93.48 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/1.266, allocations: 33.95 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.266, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001706/1.266, allocations: 67.17 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/1.266, allocations: 56.02 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/1.266, allocations: 105.4 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.266, allocations: 29.7 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/1.266, allocations: 86.52 kB / 1.121 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/1.266, allocations: 11.31 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/1.266, allocations: 7.25 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/1.266, allocations: 310.8 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/1.266, allocations: 12.47 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/1.266, allocations: 12.19 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/1.266, allocations: 10.69 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.266, allocations: 0 / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.565e-05/1.266, allocations: 60.77 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.267, allocations: 4 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.267, allocations: 0 / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/1.267, allocations: 0.6562 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.267, allocations: 23.28 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.267, allocations: 0.7031 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/1.267, allocations: 23.78 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.267, allocations: 4 kB / 1.122 GB, free: 39.64 MB / 0.7448 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 5.631e-05/1.267, allocations: 104.2 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/1.267, allocations: 7.906 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/1.267, allocations: 65.84 kB / 1.122 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.267, allocations: 0 / 1.122 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.267, allocations: 4.812 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.267, allocations: 0 / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/1.267, allocations: 176.3 kB / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.267, allocations: 0 / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/1.267, allocations: 23.88 kB / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.267, allocations: 1.375 kB / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/1.267, allocations: 4 kB / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.267, allocations: 0 / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.267, allocations: 0 / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/1.268, allocations: 149.6 kB / 1.122 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/1.268, allocations: 85 kB / 1.122 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/1.268, allocations: 3.688 kB / 1.122 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.268, allocations: 19.52 kB / 1.122 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/1.268, allocations: 12.67 kB / 1.122 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/1.268, allocations: 0.5 kB / 1.122 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.338e-05/1.268, allocations: 88.42 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.268, allocations: 0 / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002629/1.268, allocations: 38.28 kB / 1.123 GB, free: 38.86 MB / 0.7448 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.0004516/1.269, allocations: 0.7218 MB / 1.123 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/1.269, allocations: 30.22 kB / 1.123 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.269, allocations: 0 / 1.123 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/1.269, allocations: 10.88 kB / 1.123 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/1.269, allocations: 11.61 kB / 1.123 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/1.269, allocations: 129 kB / 1.123 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/1.269, allocations: 0.6838 MB / 1.124 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.051e-05/1.27, allocations: 8.109 kB / 1.124 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/1.27, allocations: 15.03 kB / 1.124 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of SimCode: time 8.71e-07/1.27, allocations: 0 / 1.124 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/1.285, allocations: 2.019 MB / 1.126 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/1.285, allocations: 155.9 kB / 1.126 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/3.052, allocations: 0 / 1.126 GB, free: 35.93 MB / 0.7448 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)