Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001781/0.001781, allocations: 108 kB / 15.6 MB, free: 132 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.002275/0.002275, allocations: 194.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.003/1.003, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 67.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2049, allocations: 82.03 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002816/0.2078, allocations: 1.488 MB / 0.5958 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.209, allocations: 0.7991 MB / 0.5966 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.2091, allocations: 0 / 0.5966 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.2091, allocations: 7.938 kB / 0.5966 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.2092, allocations: 11.86 kB / 0.5966 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.2096, allocations: 131.4 kB / 0.5968 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.2097, allocations: 55.78 kB / 0.5968 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.211e-05/0.2098, allocations: 19.94 kB / 0.5968 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.2098, allocations: 19.92 kB / 0.5968 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.2099, allocations: 27.89 kB / 0.5969 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2099, allocations: 8 kB / 0.5969 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.2102, allocations: 163.8 kB / 0.597 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2103, allocations: 11.94 kB / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.2103, allocations: 23.91 kB / 0.5971 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.2106, allocations: 151.8 kB / 0.5972 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2106, allocations: 4 kB / 0.5972 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2106, allocations: 0 / 0.5972 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2106, allocations: 0 / 0.5972 GB, free: 6.574 MB / 0.4981 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.0004964/0.2111, allocations: 397.3 kB / 0.5976 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2111, allocations: 12.03 kB / 0.5976 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.2112, allocations: 30.75 kB / 0.5976 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.2112, allocations: 8.922 kB / 0.5976 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2113, allocations: 168.3 kB / 0.5978 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2113, allocations: 12.38 kB / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.2113, allocations: 384 / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.2116, allocations: 78.14 kB / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2116, allocations: 3.938 kB / 0.5979 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.2116, allocations: 3.938 kB / 0.5979 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2116, allocations: 4 kB / 0.5979 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.2119, allocations: 71.92 kB / 0.598 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.2122, allocations: 280.7 kB / 0.5982 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.2124, allocations: 62.45 kB / 0.5983 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.2126, allocations: 44.91 kB / 0.5983 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.2128, allocations: 89.09 kB / 0.5984 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2128, allocations: 30.56 kB / 0.5985 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2128, allocations: 0 / 0.5985 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005126/0.2134, allocations: 129.6 kB / 0.5986 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2134, allocations: 51.41 kB / 0.5986 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.2135, allocations: 125.8 kB / 0.5988 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2135, allocations: 25.7 kB / 0.5988 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.2136, allocations: 92.05 kB / 0.5989 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.2136, allocations: 7.906 kB / 0.5989 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2136, allocations: 13.72 kB / 0.5989 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2137, allocations: 326.8 kB / 0.5992 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2139, allocations: 27.97 kB / 0.5992 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.214, allocations: 39.89 kB / 0.5993 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2143, allocations: 68.78 kB / 0.5993 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2143, allocations: 0 / 0.5993 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003334/0.2147, allocations: 97.53 kB / 0.5994 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2147, allocations: 9.719 kB / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2147, allocations: 4 kB / 0.5994 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2147, allocations: 3.938 kB / 0.5994 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2148, allocations: 19.98 kB / 0.5995 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2148, allocations: 3.984 kB / 0.5995 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.2149, allocations: 15.97 kB / 0.5995 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2149, allocations: 0 / 0.5995 GB, free: 4.012 MB / 0.4981 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 6.888e-05/0.215, allocations: 113.8 kB / 0.5996 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.2151, allocations: 4 kB / 0.5996 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.2154, allocations: 109.5 kB / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2155, allocations: 0 / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2155, allocations: 3.938 kB / 0.5997 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2155, allocations: 0 / 0.5997 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.2157, allocations: 185.5 kB / 0.5999 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2157, allocations: 0 / 0.5999 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.2158, allocations: 15.92 kB / 0.5999 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2158, allocations: 0 / 0.5999 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2158, allocations: 8 kB / 0.5999 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2158, allocations: 0 / 0.5999 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2158, allocations: 0 / 0.5999 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.2162, allocations: 195.8 kB / 0.6001 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.2162, allocations: 88.95 kB / 0.6002 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2162, allocations: 4 kB / 0.6002 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2163, allocations: 7.984 kB / 0.6002 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.2164, allocations: 16.02 kB / 0.6002 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2164, allocations: 0 / 0.6002 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.2165, allocations: 95.27 kB / 0.6003 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2165, allocations: 0 / 0.6003 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002706/0.2167, allocations: 24 kB / 0.6003 GB, free: 3.051 MB / 0.4981 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.0006928/0.2174, allocations: 0.763 MB / 0.6011 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.2178, allocations: 71.92 kB / 0.6011 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2178, allocations: 0 / 0.6011 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2179, allocations: 39.89 kB / 0.6012 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2182, allocations: 16.7 kB / 0.6012 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2203, allocations: 1.429 MB / 0.6026 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2964/0.5167, allocations: 0.6884 MB / 0.6032 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.06e-05/0.5169, allocations: 2.406 kB / 0.6032 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.517, allocations: 13.84 kB / 0.6033 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.517, allocations: 0 / 0.6033 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.5366, allocations: 2.447 MB / 0.6056 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.071, allocations: 3.578 kB / 0.6057 GB, free: 43.2 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)