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.004796/0.004796, allocations: 102.7 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.005/1.005, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.5951 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4055, allocations: 82.03 MB / 0.6752 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002154/0.4077, allocations: 1.25 MB / 0.6764 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00056/0.4082, allocations: 308 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.4083, allocations: 0 / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.4083, allocations: 0 / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.4084, allocations: 9.266 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.4087, allocations: 52.66 kB / 0.6767 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.4088, allocations: 17.41 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.4089, allocations: 9.109 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.4089, allocations: 8.766 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.409, allocations: 7.312 kB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.409, allocations: 0 / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.4091, allocations: 53.36 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.4091, allocations: 5.281 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.4092, allocations: 11.81 kB / 0.6769 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.4093, allocations: 48.08 kB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4093, allocations: 0 / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4093, allocations: 0 / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4093, allocations: 0 / 0.6769 GB, free: 15.81 MB / 0.5137 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.0004206/0.4098, allocations: 344 kB / 0.6772 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4098, allocations: 10.28 kB / 0.6772 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.4099, allocations: 31.72 kB / 0.6773 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.4101, allocations: 23.84 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4102, allocations: 169.7 kB / 0.6774 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4102, allocations: 384 / 0.6774 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.4102, allocations: 1.75 kB / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4103, allocations: 46.09 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4104, allocations: 3.938 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4104, allocations: 0 / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4104, allocations: 1.062 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.4104, allocations: 16.95 kB / 0.6775 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.4106, allocations: 162.7 kB / 0.6777 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.4125, allocations: 272.6 kB / 0.6779 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.4125, allocations: 16.7 kB / 0.6779 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4126, allocations: 1.188 kB / 0.6779 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4126, allocations: 36.06 kB / 0.678 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.4126, allocations: 4 kB / 0.678 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001866/0.4128, allocations: 61.38 kB / 0.678 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4128, allocations: 51.41 kB / 0.6781 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.4129, allocations: 98.97 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4129, allocations: 31.14 kB / 0.6782 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.413, allocations: 80.14 kB / 0.6783 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.413, allocations: 13.25 kB / 0.6783 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.413, allocations: 18.22 kB / 0.6783 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4132, allocations: 315 kB / 0.6786 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.4132, allocations: 12.02 kB / 0.6786 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.4132, allocations: 9.688 kB / 0.6786 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.992e-05/0.4133, allocations: 23.52 kB / 0.6787 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4133, allocations: 0 / 0.6787 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.106e-05/0.4134, allocations: 53.78 kB / 0.6787 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4134, allocations: 8.688 kB / 0.6787 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4134, allocations: 0 / 0.6787 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4134, allocations: 1.469 kB / 0.6787 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.4135, allocations: 17.2 kB / 0.6787 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4135, allocations: 3.938 kB / 0.6787 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.4136, allocations: 5.453 kB / 0.6788 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.4136, allocations: 5.25 kB / 0.6788 GB, free: 13.98 MB / 0.5137 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 7.976e-05/0.4137, allocations: 111.1 kB / 0.6789 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.4137, allocations: 5.219 kB / 0.6789 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.4137, allocations: 7.5 kB / 0.6789 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4137, allocations: 1.281 kB / 0.6789 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4137, allocations: 0 / 0.6789 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4137, allocations: 5.25 kB / 0.6789 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.4139, allocations: 157.8 kB / 0.679 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4139, allocations: 1.312 kB / 0.679 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.4139, allocations: 4.344 kB / 0.679 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4139, allocations: 9.234 kB / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.4139, allocations: 0 / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.414, allocations: 1.594 kB / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.414, allocations: 0 / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.4141, allocations: 82.05 kB / 0.6791 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.4142, allocations: 82.3 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4142, allocations: 5 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.345e-05/0.4142, allocations: 1.328 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.4143, allocations: 9.031 kB / 0.6792 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4143, allocations: 0.9688 kB / 0.6792 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.4143, allocations: 76.38 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4143, allocations: 1.156 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000198/0.4145, allocations: 5.5 kB / 0.6793 GB, free: 13.38 MB / 0.5137 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.0004255/0.415, allocations: 0.6219 MB / 0.6799 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.4151, allocations: 26.36 kB / 0.6799 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4151, allocations: 1.125 kB / 0.6799 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.4151, allocations: 15.89 kB / 0.68 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4154, allocations: 13.5 kB / 0.68 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.4159, allocations: 156.7 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4161, allocations: 0.6762 MB / 0.6808 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.4162, allocations: 5.219 kB / 0.6808 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4162, allocations: 9.5 kB / 0.6808 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.703e-06/0.4162, allocations: 0 / 0.6808 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.4345, allocations: 1.336 MB / 0.6821 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/8.08, allocations: 2 kB / 0.6821 GB, free: 11.12 MB / 0.5137 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)