Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007322/0.007322, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001511/0.001511, allocations: 204.2 kB / 16.68 MB, free: 5.969 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.176/1.176, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 67.88 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 82.03 MB / 0.6754 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001845/0.3804, allocations: 1.263 MB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3818, allocations: 0.8367 MB / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.3819, allocations: 0 / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.3819, allocations: 0 / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.3819, allocations: 9.172 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.3824, allocations: 128.1 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.3825, allocations: 28.33 kB / 0.6776 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.3825, allocations: 9.156 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.3826, allocations: 6.938 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.3826, allocations: 20.62 kB / 0.6777 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.3826, allocations: 1.219 kB / 0.6777 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.383, allocations: 161 kB / 0.6778 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.383, allocations: 5.125 kB / 0.6778 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.383, allocations: 16 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.3833, allocations: 120.8 kB / 0.678 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3833, allocations: 4 kB / 0.678 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3833, allocations: 0 / 0.678 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3833, allocations: 4 kB / 0.678 GB, free: 14.97 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.0004586/0.3838, allocations: 359.3 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3838, allocations: 10.09 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.3839, allocations: 34.73 kB / 0.6783 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3839, allocations: 3.594 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.384, allocations: 169.8 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.042e-05/0.3841, allocations: 33.02 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3841, allocations: 1.75 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3843, allocations: 53.98 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3843, allocations: 9.484 kB / 0.6786 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3844, allocations: 3.938 kB / 0.6786 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3844, allocations: 0 / 0.6786 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3845, allocations: 19.67 kB / 0.6786 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3847, allocations: 158.1 kB / 0.6788 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3849, allocations: 49.28 kB / 0.6788 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.385, allocations: 15.83 kB / 0.6788 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.3853, allocations: 182.4 kB / 0.679 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3853, allocations: 34.5 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3853, allocations: 1.125 kB / 0.6791 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002564/0.3856, allocations: 68.17 kB / 0.6791 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.3856, allocations: 56.47 kB / 0.6792 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.3857, allocations: 97.22 kB / 0.6793 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3858, allocations: 30.7 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.3858, allocations: 84.08 kB / 0.6794 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.3858, allocations: 10.19 kB / 0.6794 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.3859, allocations: 17.12 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.386, allocations: 315.8 kB / 0.6797 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.3861, allocations: 9.594 kB / 0.6797 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.3861, allocations: 14.48 kB / 0.6797 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3862, allocations: 29.84 kB / 0.6798 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3862, allocations: 0 / 0.6798 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.3864, allocations: 50.97 kB / 0.6798 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3864, allocations: 9.562 kB / 0.6798 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3864, allocations: 0 / 0.6798 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3864, allocations: 1.125 kB / 0.6798 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.3865, allocations: 18.83 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.3865, allocations: 0 / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.3865, allocations: 4.969 kB / 0.6798 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3865, allocations: 2.25 kB / 0.6798 GB, free: 12.97 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.818e-05/0.3866, allocations: 110.8 kB / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.3867, allocations: 10.62 kB / 0.68 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.3868, allocations: 63.7 kB / 0.68 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.3869, allocations: 4.031 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3869, allocations: 5.469 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3869, allocations: 3.984 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.387, allocations: 154.8 kB / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.387, allocations: 3.938 kB / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.3871, allocations: 10.84 kB / 0.6802 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3871, allocations: 3.938 kB / 0.6802 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3871, allocations: 1.281 kB / 0.6802 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3871, allocations: 0 / 0.6802 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3871, allocations: 0.9375 kB / 0.6802 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3873, allocations: 84.36 kB / 0.6803 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.3874, allocations: 91.5 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3874, allocations: 3.984 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.3874, allocations: 6.781 kB / 0.6804 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.3875, allocations: 1.062 kB / 0.6804 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3875, allocations: 2.219 kB / 0.6804 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.3875, allocations: 85.73 kB / 0.6805 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3875, allocations: 4 kB / 0.6805 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002492/0.3878, allocations: 31.03 kB / 0.6805 GB, free: 12.29 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.0005919/0.3884, allocations: 0.6691 MB / 0.6811 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.3886, allocations: 29.3 kB / 0.6812 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3886, allocations: 0 / 0.6812 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.3886, allocations: 16.95 kB / 0.6812 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.3889, allocations: 15.77 kB / 0.6812 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.3893, allocations: 158.2 kB / 0.6814 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3896, allocations: 0.6735 MB / 0.682 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.648e-05/0.3896, allocations: 11.02 kB / 0.682 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.3897, allocations: 17.69 kB / 0.682 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.3897, allocations: 0 / 0.682 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.4124, allocations: 1.99 MB / 0.684 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.487, allocations: 13.28 kB / 0.684 GB, free: 9.668 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.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_Functions_Examples_phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)