Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009653/0.0009655, allocations: 97.22 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.268e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2347, allocations: 106.4 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.775/1.01, allocations: 133.3 MB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.01, allocations: 78.77 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00853/1.019, allocations: 2.655 MB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/1.019, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.111e-06/1.019, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6511 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.000408/1.019, allocations: 361.8 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.019, allocations: 8.031 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/1.019, allocations: 30.56 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/1.019, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/1.019, allocations: 167 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.842e-05/1.019, allocations: 40.94 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/1.02, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/1.02, allocations: 45.25 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.02, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/1.02, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.02, allocations: 4 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/1.02, allocations: 11.62 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/1.02, allocations: 161 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/1.02, allocations: 45.55 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/1.02, allocations: 16.42 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/1.02, allocations: 174.3 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.021, allocations: 37.8 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/1.021, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.000153/1.021, allocations: 56.73 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.021, allocations: 55.39 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/1.021, allocations: 92.38 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/1.021, allocations: 29.64 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/1.021, allocations: 80.14 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/1.021, allocations: 14.84 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/1.021, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.021, allocations: 314.8 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/1.021, allocations: 7.438 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/1.021, allocations: 11.98 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/1.021, allocations: 7.625 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.021, allocations: 3.938 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.325e-05/1.021, allocations: 57.16 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.021, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.021, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.021, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/1.021, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/1.021, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/1.021, allocations: 12.36 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/1.021, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.6511 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 (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 6.71e-05/1.022, allocations: 108.4 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/1.022, allocations: 4 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.022, allocations: 63.92 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.022, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.022, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.022, allocations: 3.984 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/1.022, allocations: 164.4 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.022, allocations: 4 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/1.022, allocations: 8 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.022, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.022, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.022, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.022, allocations: 4 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.861e-05/1.022, allocations: 79.67 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/1.022, allocations: 81.09 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/1.022, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/1.022, allocations: 11.5 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/1.022, allocations: 7.922 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/1.022, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.396e-05/1.022, allocations: 75.28 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/1.022, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002379/1.023, allocations: 43.19 kB / 1.027 GB, free: 12.33 MB / 0.6511 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 (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.0004937/1.023, allocations: 0.6525 MB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/1.023, allocations: 22.73 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.023, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.517e-05/1.023, allocations: 15.06 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/1.023, allocations: 7.438 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/1.024, allocations: 110.6 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/1.024, allocations: 0.6848 MB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.119e-05/1.024, allocations: 8.562 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/1.024, allocations: 11.44 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.024, allocations: 0 / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/1.038, allocations: 1.637 MB / 1.03 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/1.039, allocations: 186.1 kB / 1.03 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.54, allocations: 4.141 kB / 1.03 GB, free: 9.004 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)