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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 196.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.03 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.245, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002768/0.2478, allocations: 1.276 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2492, allocations: 0.8244 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.2492, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.2492, allocations: 3.938 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.2493, allocations: 7.922 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.2498, allocations: 135.4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.2499, allocations: 31.86 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.2499, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.25, allocations: 15.98 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.25, allocations: 11.92 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.25, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.2504, allocations: 163.8 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.2504, allocations: 7.984 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.2504, allocations: 11.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.2507, allocations: 124 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2507, allocations: 3.938 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2507, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2507, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 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.0004602/0.2512, allocations: 363.3 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2512, allocations: 8.031 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.2513, allocations: 34.75 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.2513, allocations: 4.938 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2514, allocations: 164.4 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.2515, allocations: 34.27 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.2515, allocations: 384 / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2517, allocations: 46 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2517, allocations: 4 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2517, allocations: 0 / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2517, allocations: 0 / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.2518, allocations: 19.92 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.252, allocations: 165.7 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.2522, allocations: 50.59 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.2523, allocations: 12.86 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.2525, allocations: 178.3 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2526, allocations: 42.44 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2526, allocations: 0 / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002369/0.2528, allocations: 73.52 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2529, allocations: 51.41 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.253, allocations: 101.8 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.253, allocations: 29.7 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.253, allocations: 80.14 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.2531, allocations: 7.844 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.2531, allocations: 25.62 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2532, allocations: 314.8 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.2533, allocations: 12 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.2533, allocations: 7.984 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.062e-05/0.2534, allocations: 28.84 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2534, allocations: 0 / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.2536, allocations: 57.62 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2536, allocations: 12.88 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2536, allocations: 0 / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2536, allocations: 0 / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.2537, allocations: 15.98 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2537, allocations: 0 / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.2537, allocations: 4 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.2537, allocations: 0 / 0.7879 GB, free: 8.598 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.2538, allocations: 109.8 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.2538, allocations: 7.938 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.254, allocations: 69.11 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.254, allocations: 4 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2541, allocations: 3.938 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2541, allocations: 0 / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.2542, allocations: 153.7 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2542, allocations: 0.5625 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.2542, allocations: 11.98 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2543, allocations: 3.938 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2543, allocations: 4 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2543, allocations: 4 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2543, allocations: 0 / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.2544, allocations: 92.94 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.2545, allocations: 88.98 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2545, allocations: 0 / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.2546, allocations: 3.984 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.2546, allocations: 4 kB / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.2546, allocations: 4 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.2547, allocations: 83.28 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2547, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002313/0.2549, allocations: 39.92 kB / 0.7885 GB, free: 7.812 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005943/0.2555, allocations: 0.6515 MB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.2557, allocations: 31.91 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2557, allocations: 4 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.2558, allocations: 12 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2561, allocations: 7.984 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.2565, allocations: 180.6 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2568, allocations: 0.6768 MB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.909e-05/0.2569, allocations: 7.984 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.2569, allocations: 11.42 kB / 0.7901 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2569, allocations: 0 / 0.7901 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.2758, allocations: 1.928 MB / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.333, allocations: 7.688 kB / 0.792 GB, free: 4.297 MB / 0.6075 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)