Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001148/0.001148, allocations: 108 kB / 15.61 MB, free: 148 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.001429/0.001428, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.016/1.016, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2082, allocations: 82.04 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00418/0.2125, allocations: 1.252 MB / 0.5956 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.2135, allocations: 295.1 kB / 0.5959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.2136, allocations: 3.938 kB / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.2136, allocations: 0 / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.2137, allocations: 0 / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.2142, allocations: 55.73 kB / 0.596 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.039e-05/0.2143, allocations: 19.88 kB / 0.596 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.2144, allocations: 3.984 kB / 0.596 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.2145, allocations: 15.94 kB / 0.596 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.2146, allocations: 4 kB / 0.596 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2146, allocations: 0 / 0.596 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.2149, allocations: 51.95 kB / 0.596 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2149, allocations: 11.92 kB / 0.5961 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.2149, allocations: 7.938 kB / 0.5961 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.2152, allocations: 52.17 kB / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2152, allocations: 0 / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2152, allocations: 0 / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.2152, allocations: 0 / 0.5961 GB, free: 7.742 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005757/0.2158, allocations: 339.5 kB / 0.5964 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.2159, allocations: 8.031 kB / 0.5964 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.2159, allocations: 30.75 kB / 0.5965 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.2163, allocations: 24.81 kB / 0.5965 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2164, allocations: 164.3 kB / 0.5967 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.2165, allocations: 4.375 kB / 0.5967 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2165, allocations: 4.312 kB / 0.5967 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2167, allocations: 46.25 kB / 0.5967 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2167, allocations: 7.938 kB / 0.5967 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2167, allocations: 0 / 0.5967 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.2167, allocations: 4 kB / 0.5967 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.2168, allocations: 15.98 kB / 0.5967 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.217, allocations: 153.7 kB / 0.5969 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/0.2198, allocations: 274.4 kB / 0.5971 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.2199, allocations: 16.86 kB / 0.5972 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.22, allocations: 0 / 0.5972 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.22, allocations: 38.55 kB / 0.5972 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.22, allocations: 0 / 0.5972 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002608/0.2203, allocations: 65.62 kB / 0.5973 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.2204, allocations: 55.41 kB / 0.5973 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.2205, allocations: 89.86 kB / 0.5974 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.2205, allocations: 25.7 kB / 0.5974 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.2206, allocations: 84.14 kB / 0.5975 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.2206, allocations: 15.8 kB / 0.5975 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.2207, allocations: 25.64 kB / 0.5975 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.221, allocations: 310.8 kB / 0.5978 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.221, allocations: 12.12 kB / 0.5978 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.2211, allocations: 4 kB / 0.5979 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.182e-05/0.2212, allocations: 33.11 kB / 0.5979 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2212, allocations: 0 / 0.5979 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001606/0.2214, allocations: 49.7 kB / 0.5979 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2214, allocations: 15.86 kB / 0.5979 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2214, allocations: 0 / 0.5979 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2214, allocations: 0 / 0.5979 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.2215, allocations: 11.94 kB / 0.598 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2216, allocations: 0 / 0.598 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.2216, allocations: 11.94 kB / 0.598 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.2217, allocations: 0 / 0.598 GB, free: 5.605 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 (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 0.0001129/0.2218, allocations: 109.8 kB / 0.5981 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.2218, allocations: 3.938 kB / 0.5981 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.2219, allocations: 7.5 kB / 0.5981 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2219, allocations: 0 / 0.5981 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2219, allocations: 7.984 kB / 0.5981 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2219, allocations: 0 / 0.5981 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2221, allocations: 157.6 kB / 0.5982 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2221, allocations: 4 kB / 0.5982 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.2222, allocations: 4 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.2222, allocations: 3.938 kB / 0.5983 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2222, allocations: 4 kB / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2223, allocations: 0 / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2223, allocations: 0 / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.2225, allocations: 84.97 kB / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.2226, allocations: 77.11 kB / 0.5984 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2226, allocations: 15.92 kB / 0.5984 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.2227, allocations: 0 / 0.5984 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.2227, allocations: 4 kB / 0.5984 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2228, allocations: 8 kB / 0.5984 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.2228, allocations: 75.28 kB / 0.5985 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2228, allocations: 0 / 0.5985 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003475/0.2232, allocations: 4 kB / 0.5985 GB, free: 4.949 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 (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.0006547/0.2238, allocations: 0.6203 MB / 0.5991 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.224, allocations: 31.92 kB / 0.5991 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.224, allocations: 0 / 0.5991 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.2241, allocations: 12 kB / 0.5992 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.2245, allocations: 11.92 kB / 0.5992 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.2252, allocations: 160 kB / 0.5993 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.2256, allocations: 0.6768 MB / 0.6 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.92e-05/0.2257, allocations: 4.328 kB / 0.6 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.2258, allocations: 11.44 kB / 0.6 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.2258, allocations: 0 / 0.6 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2492, allocations: 1.309 MB / 0.6013 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.786, allocations: 14.34 kB / 0.6013 GB, free: 2.113 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X_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_Functions_Examples_pW_X.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)