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.797/1.797, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.001039/0.001039, allocations: 175 kB / 372 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.624/1.624, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007697/0.0007696, allocations: 105 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005354/0.0005356, allocations: 11.84 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2634, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001792/0.2652, allocations: 1.199 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2665, allocations: 0.7585 MB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.2666, allocations: 4 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.2666, allocations: 11.92 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.883e-05/0.2667, allocations: 7.922 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.2673, allocations: 107.5 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2674, allocations: 43.86 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2676, allocations: 16.27 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.2676, allocations: 19.92 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.2677, allocations: 23.86 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2677, allocations: 0 / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.2681, allocations: 167.7 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.2681, allocations: 15.92 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.2682, allocations: 29.7 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.2684, allocations: 107.7 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2684, allocations: 0 / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2684, allocations: 3.938 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2684, allocations: 4 kB / 0.9821 GB, free: 25.07 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.000557/0.269, allocations: 399.2 kB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.269, allocations: 16.02 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.2691, allocations: 34.56 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.2691, allocations: 7.906 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2693, allocations: 175 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2693, allocations: 4 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.2693, allocations: 0 / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.2696, allocations: 77.66 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2696, allocations: 4 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2696, allocations: 8 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2696, allocations: 0 / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.2699, allocations: 87.92 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.2703, allocations: 292.6 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2705, allocations: 70.53 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2707, allocations: 44.92 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.2709, allocations: 93.09 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2709, allocations: 34.56 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2709, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005737/0.2715, allocations: 173.4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2716, allocations: 55.41 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.2716, allocations: 121.8 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2717, allocations: 25.7 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.2717, allocations: 88.12 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.2717, allocations: 11.84 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.2717, allocations: 0 / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.2718, allocations: 314.8 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.272, allocations: 47.95 kB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.2721, allocations: 39.97 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2723, allocations: 47.95 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2723, allocations: 3.938 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003308/0.2726, allocations: 125.5 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2726, allocations: 5.875 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2726, allocations: 0 / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2727, allocations: 0 / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2728, allocations: 23.98 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2728, allocations: 7.938 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.2729, allocations: 15.98 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2729, allocations: 0 / 0.9844 GB, free: 22.42 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 6.235e-05/0.273, allocations: 115.2 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.273, allocations: 15.91 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.2734, allocations: 133.8 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2734, allocations: 3.938 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2734, allocations: 4 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2735, allocations: 3.953 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.2736, allocations: 173.6 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2736, allocations: 0 / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.761e-05/0.2737, allocations: 19.98 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2737, allocations: 4 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2737, allocations: 0 / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2737, allocations: 3.984 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2738, allocations: 0 / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.2741, allocations: 219.4 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.2742, allocations: 81.02 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2742, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2743, allocations: 23.97 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.2743, allocations: 4 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.2744, allocations: 0 / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.2744, allocations: 103.1 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2744, allocations: 0 / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002508/0.2747, allocations: 28 kB / 0.9853 GB, free: 21.4 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.0007318/0.2754, allocations: 0.7865 MB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.2758, allocations: 87.92 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2758, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.2759, allocations: 51.89 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2763, allocations: 15.94 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.2775, allocations: 0.5786 MB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2777, allocations: 0.6848 MB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.2777, allocations: 7.938 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.2778, allocations: 11.44 kB / 0.9875 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of SimCode: time 5.62e-07/0.2778, allocations: 4 kB / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.2908, allocations: 2.094 MB / 0.9895 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.291, allocations: 195.9 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.017, allocations: 0 / 0.9897 GB, free: 16.88 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)