Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.477/2.477, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.00153/0.00153, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.2 MB / 0.6191 GB, free: 12.17 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.001528/0.001528, allocations: 92.91 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.516e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8021, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/1.034, allocations: 138.7 MB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.034, allocations: 81.2 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01328/1.047, allocations: 2.637 MB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/1.047, allocations: 0 / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.047, allocations: 0 / 1.102 GB, free: 15.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004957/1.048, allocations: 366.3 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.048, allocations: 8.031 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/1.048, allocations: 7.719 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.048, allocations: 170.9 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/1.048, allocations: 25.7 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/1.048, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.112e-05/1.048, allocations: 15.98 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/1.049, allocations: 37.08 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.049, allocations: 0.875 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.049, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.049, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/1.049, allocations: 146.2 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/1.049, allocations: 46.55 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/1.049, allocations: 12.86 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003555/1.049, allocations: 178.3 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.05, allocations: 34.56 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/1.05, allocations: 4 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0007461/1.05, allocations: 93.62 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.05, allocations: 51.41 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/1.05, allocations: 89 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/1.05, allocations: 25.7 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/1.051, allocations: 84.08 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/1.051, allocations: 19.75 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.051, allocations: 4 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.051, allocations: 314.8 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/1.051, allocations: 7.938 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/1.051, allocations: 8 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/1.051, allocations: 47.94 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.051, allocations: 0 / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006328/1.052, allocations: 101.6 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.052, allocations: 4 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.052, allocations: 7.984 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.052, allocations: 384 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/1.052, allocations: 11.19 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/1.052, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/1.052, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/1.052, allocations: 4 kB / 1.103 GB, free: 12.92 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 (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.094e-05/1.052, allocations: 104.8 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006131/1.053, allocations: 105.5 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/1.053, allocations: 7.906 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/1.054, allocations: 105.7 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.054, allocations: 0 / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.054, allocations: 4 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.054, allocations: 3.375 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.054, allocations: 138.2 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.054, allocations: 0 / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/1.054, allocations: 7.984 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.054, allocations: 7.938 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.054, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.054, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.054, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/1.055, allocations: 113.1 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/1.055, allocations: 96.95 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.055, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/1.055, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/1.055, allocations: 4 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/1.055, allocations: 7.984 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.768e-05/1.055, allocations: 83.22 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.055, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003377/1.056, allocations: 31.94 kB / 1.104 GB, free: 12.02 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 (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.001155/1.057, allocations: 0.7021 MB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001099/1.057, allocations: 23.98 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.057, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/1.057, allocations: 11.94 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/1.057, allocations: 7.516 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/1.058, allocations: 105.6 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/1.058, allocations: 0.6768 MB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.438e-05/1.058, allocations: 10.11 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/1.058, allocations: 15.44 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.058, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/1.097, allocations: 1.329 MB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003253/1.097, allocations: 158.8 kB / 1.107 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.415, allocations: 1.547 kB / 1.107 GB, free: 8.895 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)