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-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.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.01151/0.01151, allocations: 102 kB / 15.73 MB, free: 6.441 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.002095/0.002095, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.273 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.122/1.122, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.91 kB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4831, allocations: 82.02 MB / 0.6754 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00259/0.4857, allocations: 1.492 MB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.4872, allocations: 0.8136 MB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.4872, allocations: 1.312 kB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.4873, allocations: 3.938 kB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.4874, allocations: 9.016 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.4879, allocations: 134.9 kB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.488, allocations: 56.81 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4881, allocations: 11.34 kB / 0.6778 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.4882, allocations: 23.06 kB / 0.6779 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.4883, allocations: 26.91 kB / 0.6779 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.4883, allocations: 8.812 kB / 0.6779 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.4887, allocations: 169.1 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.4887, allocations: 9.141 kB / 0.6781 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.4887, allocations: 24.86 kB / 0.6781 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.4891, allocations: 149.6 kB / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4891, allocations: 0 / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4891, allocations: 0 / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4891, allocations: 1.125 kB / 0.6782 GB, free: 14.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006541/0.4897, allocations: 404.1 kB / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4898, allocations: 10.34 kB / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.4898, allocations: 34.73 kB / 0.6787 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.4899, allocations: 8.422 kB / 0.6787 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.49, allocations: 174.5 kB / 0.6788 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4901, allocations: 2.562 kB / 0.6788 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.4901, allocations: 6.688 kB / 0.6789 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.4904, allocations: 73.36 kB / 0.6789 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4904, allocations: 11.88 kB / 0.6789 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4904, allocations: 1.156 kB / 0.6789 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4904, allocations: 1.312 kB / 0.6789 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.4907, allocations: 65.11 kB / 0.679 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.4911, allocations: 291 kB / 0.6793 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.4914, allocations: 52.86 kB / 0.6793 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.4916, allocations: 44.06 kB / 0.6794 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.4918, allocations: 88.97 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4918, allocations: 31.72 kB / 0.6795 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4918, allocations: 4 kB / 0.6795 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005983/0.4924, allocations: 131.5 kB / 0.6796 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.4925, allocations: 52.28 kB / 0.6797 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4926, allocations: 119.5 kB / 0.6798 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.4926, allocations: 30.89 kB / 0.6798 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.4928, allocations: 86.36 kB / 0.6799 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.4928, allocations: 17.16 kB / 0.6799 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.4928, allocations: 15.98 kB / 0.6799 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.493, allocations: 321.4 kB / 0.6802 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.4932, allocations: 29.22 kB / 0.6803 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4933, allocations: 37.67 kB / 0.6803 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.4936, allocations: 71.16 kB / 0.6804 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4936, allocations: 0 / 0.6804 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003456/0.494, allocations: 99 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.494, allocations: 5.906 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.494, allocations: 0 / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4941, allocations: 0 / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.4942, allocations: 15.39 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4942, allocations: 3.984 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.4943, allocations: 18.16 kB / 0.6805 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4943, allocations: 9.219 kB / 0.6805 GB, free: 12.62 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 (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 0.0001179/0.4945, allocations: 120.9 kB / 0.6806 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.4945, allocations: 2.25 kB / 0.6806 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.4949, allocations: 109 kB / 0.6807 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4949, allocations: 0 / 0.6807 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4949, allocations: 1.094 kB / 0.6807 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4949, allocations: 0 / 0.6807 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.4952, allocations: 178.2 kB / 0.6809 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4952, allocations: 0.7188 kB / 0.6809 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4953, allocations: 14.58 kB / 0.6809 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4953, allocations: 1.094 kB / 0.6809 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.4953, allocations: 0 / 0.6809 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4953, allocations: 5.109 kB / 0.6809 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4953, allocations: 3.938 kB / 0.6809 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.4958, allocations: 201.2 kB / 0.6811 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.4959, allocations: 86.19 kB / 0.6812 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.4959, allocations: 1.062 kB / 0.6812 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.496, allocations: 14.66 kB / 0.6812 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.4961, allocations: 2.312 kB / 0.6812 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.4961, allocations: 1.547 kB / 0.6812 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.4962, allocations: 100.5 kB / 0.6813 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4962, allocations: 0 / 0.6813 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000316/0.4965, allocations: 34.75 kB / 0.6813 GB, free: 11.81 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 (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.0009445/0.4974, allocations: 0.7553 MB / 0.6821 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.4978, allocations: 74.75 kB / 0.6822 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4979, allocations: 1.25 kB / 0.6822 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.498, allocations: 37.05 kB / 0.6822 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.4984, allocations: 16.59 kB / 0.6822 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.5005, allocations: 1.436 MB / 0.6836 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.5008, allocations: 0.6816 MB / 0.6843 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.5008, allocations: 6.047 kB / 0.6843 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.5009, allocations: 17.67 kB / 0.6843 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.5009, allocations: 1.25 kB / 0.6843 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.5259, allocations: 2.491 MB / 0.6867 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.532, allocations: 6.594 kB / 0.6867 GB, free: 7.664 MB / 0.5137 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)