Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.00147/0.00147, allocations: 177 kB / 371.8 MB, free: 10.28 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.915/1.915, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009401/0.0009401, allocations: 86.91 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000574/0.0005741, allocations: 12.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2656, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8775/1.143, allocations: 139.6 MB / 1.116 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.144, allocations: 83.66 kB / 1.116 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00864/1.152, allocations: 2.652 MB / 1.119 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.152, allocations: 0 / 1.119 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.152, allocations: 0 / 1.119 GB, free: 32.01 MB / 0.698 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.0004184/1.153, allocations: 370.4 kB / 1.119 GB, free: 31.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.153, allocations: 11.61 kB / 1.119 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/1.153, allocations: 36.59 kB / 1.119 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/1.153, allocations: 4.688 kB / 1.119 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.153, allocations: 177.8 kB / 1.119 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/1.153, allocations: 28.52 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/1.153, allocations: 3.719 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.153, allocations: 46.25 kB / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.153, allocations: 0 / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/1.153, allocations: 0 / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/1.153, allocations: 0 / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/1.153, allocations: 17.58 kB / 1.119 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/1.154, allocations: 169.6 kB / 1.119 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/1.154, allocations: 43.55 kB / 1.119 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/1.154, allocations: 182.2 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/1.154, allocations: 34.5 kB / 1.12 GB, free: 30.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/1.154, allocations: 4 kB / 1.12 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002343/1.154, allocations: 68.11 kB / 1.12 GB, free: 30.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/1.154, allocations: 51.41 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/1.154, allocations: 88.94 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/1.154, allocations: 25.7 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/1.154, allocations: 80.14 kB / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/1.154, allocations: 21.86 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/1.155, allocations: 0 / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.155, allocations: 321.8 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/1.155, allocations: 6.344 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/1.155, allocations: 17.28 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/1.155, allocations: 14.86 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.155, allocations: 0 / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000117/1.155, allocations: 58.58 kB / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.155, allocations: 3.812 kB / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.155, allocations: 0 / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.155, allocations: 7.875 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/1.155, allocations: 6.203 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/1.155, allocations: 0 / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/1.155, allocations: 3.875 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/1.155, allocations: 3.984 kB / 1.12 GB, free: 30.18 MB / 0.698 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.289e-05/1.155, allocations: 115.8 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/1.155, allocations: 4.422 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/1.155, allocations: 75.91 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.155, allocations: 4.031 kB / 1.121 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.155, allocations: 3.938 kB / 1.121 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.155, allocations: 0 / 1.121 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/1.156, allocations: 159.5 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.156, allocations: 3.953 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/1.156, allocations: 3.906 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.156, allocations: 3.812 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/1.156, allocations: 0 / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.156, allocations: 0 / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.156, allocations: 0 / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/1.156, allocations: 88.77 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/1.156, allocations: 85 kB / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/1.156, allocations: 6.5 kB / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/1.156, allocations: 0 / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/1.156, allocations: 6.828 kB / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.156, allocations: 0 / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.007e-05/1.156, allocations: 83.19 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.156, allocations: 0 / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002487/1.156, allocations: 37.42 kB / 1.121 GB, free: 29.57 MB / 0.698 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.0006092/1.157, allocations: 0.668 MB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.157, allocations: 30.94 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.157, allocations: 3.812 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/1.157, allocations: 11.62 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/1.157, allocations: 7.859 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/1.158, allocations: 189.4 kB / 1.122 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.158, allocations: 0.6822 MB / 1.123 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.596e-05/1.158, allocations: 3.938 kB / 1.123 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/1.158, allocations: 14.84 kB / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/1.158, allocations: 0 / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/1.171, allocations: 1.63 MB / 1.124 GB, free: 27.89 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.171, allocations: 220.7 kB / 1.124 GB, free: 27.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.721, allocations: 0 / 1.124 GB, free: 27.64 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)