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.00111/0.00111, 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.001449/0.001449, allocations: 198.2 kB / 16.64 MB, free: 6.449 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.372/1.372, 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.624/1.624, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001464/0.001464, allocations: 66.17 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002359/0.2281, allocations: 1.279 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2294, allocations: 0.8243 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.2295, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.2295, allocations: 3.938 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.2296, allocations: 4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.2301, allocations: 135.4 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.344e-05/0.2302, allocations: 27.91 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.2302, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.2303, allocations: 15.88 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.2303, allocations: 11.98 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2303, allocations: 0 / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.2307, allocations: 167.8 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2307, allocations: 4 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.2307, allocations: 15.92 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.2309, allocations: 116 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.231, allocations: 0 / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.231, allocations: 0 / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.231, allocations: 0 / 0.7862 GB, free: 10.62 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.0004749/0.2314, allocations: 367.3 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2315, allocations: 8.031 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2315, allocations: 42.67 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.2316, allocations: 4.938 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2317, allocations: 160.4 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/0.2318, allocations: 38.2 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.2318, allocations: 4.375 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.2319, allocations: 46 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2319, allocations: 3.984 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.232, allocations: 0 / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.232, allocations: 0 / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.206e-05/0.2321, allocations: 19.92 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.2322, allocations: 161.7 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.2324, allocations: 46.55 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.2325, allocations: 12.86 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.2328, allocations: 178.3 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.2328, allocations: 46.5 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2328, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002289/0.233, allocations: 69.52 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.2331, allocations: 55.41 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.2332, allocations: 97.84 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2332, allocations: 25.7 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.2332, allocations: 80.14 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2332, allocations: 15.84 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.2333, allocations: 17.62 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.2334, allocations: 318.8 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.2334, allocations: 8 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.2335, allocations: 11.98 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.2336, allocations: 28.84 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2336, allocations: 4 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.2337, allocations: 61.62 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2338, allocations: 7.938 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2338, allocations: 4 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2338, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.2338, allocations: 7.984 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2339, allocations: 0 / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.2339, allocations: 4 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.2339, allocations: 0 / 0.788 GB, free: 8.43 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 8.093e-05/0.234, allocations: 113.8 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.234, allocations: 7.938 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.2342, allocations: 69.11 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2342, allocations: 3.938 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2342, allocations: 0 / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2342, allocations: 0 / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2344, allocations: 161.6 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2344, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.2344, allocations: 8 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2344, allocations: 3.938 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2345, allocations: 4.562 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2345, allocations: 0 / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2345, allocations: 4 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.2346, allocations: 88.94 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.2347, allocations: 85.05 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.2347, allocations: 3.984 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.2348, allocations: 8 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.2348, allocations: 4 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2348, allocations: 0 / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.2349, allocations: 83.27 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2349, allocations: 0 / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002526/0.2351, allocations: 39.94 kB / 0.7887 GB, free: 7.645 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.0006048/0.2357, allocations: 0.6524 MB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.2359, allocations: 31.92 kB / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2359, allocations: 0 / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/0.236, allocations: 12 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.2363, allocations: 11.98 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.2368, allocations: 184.5 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.237, allocations: 0.6729 MB / 0.7902 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.2371, allocations: 7.984 kB / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.2371, allocations: 15.42 kB / 0.7902 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2371, allocations: 0 / 0.7902 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.2549, allocations: 1.944 MB / 0.7921 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.793, allocations: 8 kB / 0.7922 GB, free: 4.121 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)