Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001146/0.001147, allocations: 177.8 kB / 371.8 MB, free: 10.28 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.832/1.832, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 88.42 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.000409, allocations: 15.42 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001577/0.2637, allocations: 1.184 MB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009548/0.2647, allocations: 0.6769 MB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.2648, allocations: 0 / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.2648, allocations: 0 / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.2649, allocations: 15.97 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.2652, allocations: 103.6 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.2653, allocations: 31.95 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2654, allocations: 12.28 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.2655, allocations: 15.92 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.2655, allocations: 23.86 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2655, allocations: 4 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.2658, allocations: 179.7 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.2658, allocations: 3.984 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.2658, allocations: 37.64 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.266, allocations: 99.75 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.266, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.266, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.266, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 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.0004824/0.2665, allocations: 391.2 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2666, allocations: 12.02 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.2666, allocations: 34.55 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.2666, allocations: 7.906 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.2667, allocations: 171 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2668, allocations: 4 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2668, allocations: 4 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.267, allocations: 93.58 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2671, allocations: 0 / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2671, allocations: 0 / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2671, allocations: 0 / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.2674, allocations: 95.92 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.2677, allocations: 284.7 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.268, allocations: 66.48 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.2681, allocations: 97.19 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.2681, allocations: 30.56 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2682, allocations: 0 / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005243/0.2687, allocations: 165.7 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2687, allocations: 63.36 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.822e-05/0.2688, allocations: 117.8 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.2688, allocations: 25.7 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.2689, allocations: 96.06 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.2689, allocations: 7.906 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.2689, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.2689, allocations: 314.8 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.2691, allocations: 43.95 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2692, allocations: 39.97 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2694, allocations: 47.95 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2694, allocations: 0 / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/0.2697, allocations: 125.5 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2697, allocations: 4 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2697, allocations: 3.938 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2697, allocations: 4 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2699, allocations: 19.98 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2699, allocations: 11.94 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.27, allocations: 19.92 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.27, allocations: 4 kB / 0.9841 GB, free: 22.61 MB / 0.6198 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 5.576e-05/0.27, allocations: 105.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2701, allocations: 11.91 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.2704, allocations: 129.5 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2704, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2704, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2704, allocations: 3.953 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.2706, allocations: 169.6 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2706, allocations: 0 / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.2707, allocations: 19.98 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2707, allocations: 4 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2707, allocations: 4 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2707, allocations: 3.984 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2707, allocations: 3.938 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.2711, allocations: 215.4 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.2711, allocations: 81.02 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2711, allocations: 4 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2712, allocations: 23.97 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.2713, allocations: 4 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2713, allocations: 0 / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.2713, allocations: 95.64 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2713, allocations: 4 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000258/0.2716, allocations: 27.94 kB / 0.985 GB, free: 21.62 MB / 0.6198 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.0006198/0.2722, allocations: 0.7943 MB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2726, allocations: 92.2 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2726, allocations: 0 / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.2727, allocations: 47.95 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.273, allocations: 8.688 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.274, allocations: 0.5832 MB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2741, allocations: 0.6848 MB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.2741, allocations: 7.984 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.2742, allocations: 23.42 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.2742, allocations: 4 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2865, allocations: 2.076 MB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.2867, allocations: 186.5 kB / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.858, allocations: 0.5625 kB / 0.9894 GB, free: 17.11 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)