Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_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.001155/0.001155, allocations: 105.4 kB / 15.7 MB, free: 24 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.001265/0.001265, allocations: 188.8 kB / 16.64 MB, free: 6.594 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.755/1.755, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001456/0.001456, allocations: 68.38 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2709, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002682/0.2736, allocations: 1.5 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2748, allocations: 0.8049 MB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.2749, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.2749, allocations: 7.922 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.275, allocations: 11.88 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.2754, allocations: 127.4 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.2756, allocations: 55.8 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2757, allocations: 20.25 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.2757, allocations: 19.92 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.2758, allocations: 23.92 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2758, allocations: 4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.2761, allocations: 167.8 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.2761, allocations: 15.92 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2762, allocations: 19.92 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.2765, allocations: 155.5 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2765, allocations: 4 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2765, allocations: 0 / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2765, allocations: 0 / 0.7865 GB, free: 10.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005993/0.2771, allocations: 403.2 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2771, allocations: 8.031 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.2772, allocations: 38.69 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.2772, allocations: 0.9375 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2773, allocations: 176.2 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2774, allocations: 4.375 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2774, allocations: 8.375 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2776, allocations: 70.22 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2777, allocations: 3.938 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2777, allocations: 0 / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2777, allocations: 0 / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.278, allocations: 71.92 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.2783, allocations: 292.6 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.2785, allocations: 54.53 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2787, allocations: 44.92 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.2789, allocations: 89.09 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2789, allocations: 30.56 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2789, allocations: 0 / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005492/0.2795, allocations: 137.4 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2796, allocations: 55.41 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.2797, allocations: 113.8 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2797, allocations: 25.7 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2797, allocations: 92.12 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2798, allocations: 7.906 kB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.2798, allocations: 13.72 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.28, allocations: 326.8 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2801, allocations: 31.97 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2803, allocations: 31.95 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.2805, allocations: 68.8 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2805, allocations: 0 / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002984/0.2808, allocations: 109.8 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2809, allocations: 4 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2809, allocations: 0 / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2809, allocations: 7.938 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.281, allocations: 15.98 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.281, allocations: 3.984 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.2811, allocations: 11.98 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2811, allocations: 0 / 0.7887 GB, free: 7.762 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 (3): * Single equations (assignments): 3 * 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.116e-05/0.2812, allocations: 117.8 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2813, allocations: 7.984 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.2816, allocations: 113.4 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2816, allocations: 4 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2816, allocations: 4 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2816, allocations: 0 / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2818, allocations: 181.4 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2818, allocations: 0 / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.2819, allocations: 15.98 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2819, allocations: 0 / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2819, allocations: 0 / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2819, allocations: 4 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2819, allocations: 0 / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.2823, allocations: 195.4 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2823, allocations: 85.02 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2824, allocations: 0 / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2825, allocations: 15.98 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.2825, allocations: 11.92 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2825, allocations: 0 / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.2826, allocations: 87.28 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2826, allocations: 0 / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002834/0.2829, allocations: 35.98 kB / 0.7896 GB, free: 6.793 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 (3): * Single equations (assignments): 3 * 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.0007342/0.2836, allocations: 0.7592 MB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.284, allocations: 79.8 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.284, allocations: 0 / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2841, allocations: 35.95 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2845, allocations: 8.938 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.2862, allocations: 1.429 MB / 0.7918 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.2865, allocations: 0.6885 MB / 0.7925 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.2865, allocations: 4.328 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.2866, allocations: 15.44 kB / 0.7925 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2866, allocations: 3.938 kB / 0.7925 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.3045, allocations: 2.442 MB / 0.7949 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.166, allocations: 6.906 kB / 0.7949 GB, free: 1.285 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)