Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.00169/0.00169, allocations: 184.8 kB / 366.7 MB, free: 1.633 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.493/1.493, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008376/0.0008375, allocations: 85.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.048e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6059, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.7859, allocations: 139.9 MB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.7863, allocations: 92.94 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00845/0.7947, allocations: 2.638 MB / 1.113 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7948, allocations: 0 / 1.113 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7948, allocations: 0 / 1.113 GB, free: 7.539 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.0003663/0.7952, allocations: 353.1 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7952, allocations: 16.02 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.7953, allocations: 0.5938 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.7954, allocations: 171.8 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/0.7955, allocations: 25.7 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.7955, allocations: 5.812 kB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.82e-05/0.7956, allocations: 11.94 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.552e-05/0.7956, allocations: 42.41 kB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7957, allocations: 1.969 kB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7957, allocations: 0 / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.7957, allocations: 3.984 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.7959, allocations: 138.2 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.7961, allocations: 46.61 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.7961, allocations: 12.86 kB / 1.113 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.7964, allocations: 178.3 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.7964, allocations: 30.56 kB / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.7964, allocations: 0 / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004797/0.7969, allocations: 109.5 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.797, allocations: 51.41 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.797, allocations: 92 kB / 1.114 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7971, allocations: 25.7 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.7971, allocations: 80.14 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.7971, allocations: 15.75 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.7972, allocations: 0 / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7973, allocations: 318.8 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.7973, allocations: 8 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.7973, allocations: 8 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.7976, allocations: 47.94 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7977, allocations: 0 / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003585/0.798, allocations: 101.6 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.798, allocations: 7.938 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7981, allocations: 0 / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.7981, allocations: 0 / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.7981, allocations: 11.98 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7981, allocations: 4 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.7982, allocations: 0 / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.7982, allocations: 4 kB / 1.114 GB, free: 5.426 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 7.817e-05/0.7983, allocations: 101 kB / 1.115 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003672/0.7987, allocations: 100.5 kB / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.7987, allocations: 6.406 kB / 1.115 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.7991, allocations: 109.7 kB / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.7991, allocations: 4 kB / 1.115 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7991, allocations: 0 / 1.115 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7991, allocations: 0 / 1.115 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.7992, allocations: 138.2 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7993, allocations: 0 / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.7993, allocations: 8.422 kB / 1.115 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.7993, allocations: 3.984 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7993, allocations: 4 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7993, allocations: 0 / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7994, allocations: 0 / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.7998, allocations: 124.9 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.7998, allocations: 92.94 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.7999, allocations: 11.89 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.7999, allocations: 0 / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.8, allocations: 4 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.8, allocations: 0 / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.8, allocations: 79.27 kB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8, allocations: 8 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002787/0.8003, allocations: 39.94 kB / 1.115 GB, free: 4.516 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.0008113/0.8011, allocations: 0.6866 MB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.8012, allocations: 23.92 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8012, allocations: 4 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.8012, allocations: 8 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.8014, allocations: 10.02 kB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.8017, allocations: 103 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.8019, allocations: 0.6768 MB / 1.117 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.802, allocations: 11.98 kB / 1.117 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.802, allocations: 19.38 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.802, allocations: 0 / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.8223, allocations: 1.333 MB / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.8226, allocations: 154 kB / 1.118 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.421, allocations: 2.844 kB / 1.118 GB, free: 1.41 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)