Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 178.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001117/0.001118, allocations: 93.91 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003586, allocations: 6 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2134, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.3893, allocations: 133.7 MB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3896, allocations: 79.95 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008434/0.3981, allocations: 2.501 MB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3981, allocations: 0 / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3981, allocations: 0 / 1.033 GB, free: 7.438 MB / 0.6823 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.0005514/0.3987, allocations: 411 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3987, allocations: 8.031 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.3988, allocations: 38.5 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.3988, allocations: 4 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.399, allocations: 174.9 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.399, allocations: 4 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.399, allocations: 7.938 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3993, allocations: 81.64 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3993, allocations: 0 / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3993, allocations: 4 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3993, allocations: 4 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.3996, allocations: 95.86 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.4001, allocations: 288.7 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.4004, allocations: 66.53 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.4005, allocations: 93.19 kB / 1.034 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4006, allocations: 34.56 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.4006, allocations: 3.938 kB / 1.034 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005553/0.4012, allocations: 161.6 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4012, allocations: 55.36 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.4013, allocations: 108.8 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.4013, allocations: 25.7 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.4014, allocations: 92.8 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.4014, allocations: 11.81 kB / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.4014, allocations: 0 / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.4015, allocations: 326.8 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4017, allocations: 39.97 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4018, allocations: 39.97 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4019, allocations: 43.95 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4019, allocations: 0 / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003231/0.4023, allocations: 125.6 kB / 1.035 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4023, allocations: 8 kB / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4023, allocations: 0 / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4023, allocations: 0 / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4025, allocations: 23.97 kB / 1.035 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4025, allocations: 0 / 1.035 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.4026, allocations: 27.84 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4026, allocations: 4 kB / 1.036 GB, free: 4.836 MB / 0.6823 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.538e-05/0.4027, allocations: 109.8 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.4027, allocations: 8 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.4031, allocations: 129.4 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4031, allocations: 4 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4031, allocations: 0 / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4031, allocations: 384 / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.4033, allocations: 173.6 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4033, allocations: 0 / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.4034, allocations: 27.98 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4034, allocations: 3.984 kB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4035, allocations: 3.984 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4035, allocations: 0 / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4035, allocations: 0 / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.4039, allocations: 223.3 kB / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.404, allocations: 85.05 kB / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.404, allocations: 0 / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4041, allocations: 23.97 kB / 1.036 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.4042, allocations: 4 kB / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.4042, allocations: 0 / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.4042, allocations: 91.27 kB / 1.036 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4042, allocations: 0 / 1.036 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003188/0.4046, allocations: 39.98 kB / 1.036 GB, free: 3.828 MB / 0.6823 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.0008661/0.4054, allocations: 0.7865 MB / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.4058, allocations: 95.86 kB / 1.037 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4058, allocations: 0 / 1.037 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.406, allocations: 47.97 kB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.4062, allocations: 11.92 kB / 1.037 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4074, allocations: 0.5814 MB / 1.038 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.4077, allocations: 0.6888 MB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.4078, allocations: 4 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.4078, allocations: 19.42 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/0.4078, allocations: 0 / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.4204, allocations: 2.034 MB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.4207, allocations: 186.1 kB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.052, allocations: 0 / 1.041 GB, free: 15.38 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)