Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.008034/0.008034, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001394/0.001395, allocations: 202.6 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.106/1.106, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 75.88 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5053, allocations: 82.03 MB / 0.6754 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003239/0.5087, allocations: 1.634 MB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.6947, allocations: 151.6 MB / 0.825 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.6949, allocations: 8 kB / 0.825 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.695, allocations: 23.73 kB / 0.8251 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.6953, allocations: 39.7 kB / 0.8251 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.6958, allocations: 147.4 kB / 0.8252 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.696, allocations: 115.6 kB / 0.8253 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.6962, allocations: 37.33 kB / 0.8254 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.6975, allocations: 153.3 kB / 0.8255 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.6976, allocations: 47.77 kB / 0.8256 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.6976, allocations: 8 kB / 0.8256 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.698, allocations: 183.7 kB / 0.8258 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.6981, allocations: 23.91 kB / 0.8258 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.6981, allocations: 47.73 kB / 0.8258 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.6985, allocations: 193.5 kB / 0.826 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6986, allocations: 0 / 0.826 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6986, allocations: 0 / 0.826 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.6986, allocations: 0 / 0.826 GB, free: 11.37 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006606/0.6992, allocations: 446.6 kB / 0.8264 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.6993, allocations: 16.03 kB / 0.8265 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.6993, allocations: 38.73 kB / 0.8265 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008811/0.7002, allocations: 83.8 kB / 0.8266 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.7005, allocations: 216.7 kB / 0.8268 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.7005, allocations: 4 kB / 0.8268 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.7005, allocations: 8 kB / 0.8268 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.7009, allocations: 131 kB / 0.8269 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.701, allocations: 3.938 kB / 0.8269 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.701, allocations: 7.938 kB / 0.8269 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.701, allocations: 4 kB / 0.8269 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.7015, allocations: 131.9 kB / 0.8271 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.7023, allocations: 424.2 kB / 0.8275 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.7031, allocations: 255.7 kB / 0.8277 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.7033, allocations: 76.8 kB / 0.8278 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.7034, allocations: 7.984 kB / 0.8278 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.7034, allocations: 30.56 kB / 0.8278 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.7034, allocations: 4 kB / 0.8278 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0008102/0.7042, allocations: 213.5 kB / 0.828 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.7043, allocations: 55.34 kB / 0.8281 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.7044, allocations: 144.9 kB / 0.8282 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.7044, allocations: 25.7 kB / 0.8282 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.7045, allocations: 108.2 kB / 0.8283 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.7046, allocations: 27.73 kB / 0.8284 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.7046, allocations: 25.72 kB / 0.8284 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7048, allocations: 330.8 kB / 0.8287 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.705, allocations: 51.94 kB / 0.8288 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.7053, allocations: 78.52 kB / 0.8288 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.7057, allocations: 116.8 kB / 0.8289 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7057, allocations: 0 / 0.8289 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005262/0.7063, allocations: 165.5 kB / 0.8291 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7063, allocations: 4 kB / 0.8291 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.7063, allocations: 0 / 0.8291 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7063, allocations: 4 kB / 0.8291 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.7066, allocations: 23.97 kB / 0.8291 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7066, allocations: 0 / 0.8291 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.7068, allocations: 31.86 kB / 0.8292 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.7068, allocations: 3.938 kB / 0.8292 GB, free: 7.875 MB / 0.6544 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 (8): * Single equations (assignments): 8 * 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.000108/0.7069, allocations: 121.8 kB / 0.8293 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.7069, allocations: 7.953 kB / 0.8293 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.707, allocations: 20.7 kB / 0.8293 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.707, allocations: 4 kB / 0.8293 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.707, allocations: 0 / 0.8293 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.707, allocations: 0 / 0.8293 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.7079, allocations: 462.8 kB / 0.8298 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7079, allocations: 7.938 kB / 0.8298 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.7081, allocations: 27.97 kB / 0.8298 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.7081, allocations: 3.938 kB / 0.8298 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7081, allocations: 0 / 0.8298 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.7081, allocations: 3.938 kB / 0.8298 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7081, allocations: 0 / 0.8298 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.7087, allocations: 267.4 kB / 0.83 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.7088, allocations: 81.06 kB / 0.8301 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.7088, allocations: 7.984 kB / 0.8301 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.709, allocations: 19.92 kB / 0.8302 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.709, allocations: 7.984 kB / 0.8302 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.7091, allocations: 8 kB / 0.8302 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.429e-05/0.7091, allocations: 116.5 kB / 0.8303 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7091, allocations: 0 / 0.8303 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002646/0.7094, allocations: 27.94 kB / 0.8303 GB, free: 6.605 MB / 0.6544 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 (8): * Single equations (assignments): 8 * 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.0009755/0.7104, allocations: 0.8098 MB / 0.8311 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.711, allocations: 127.9 kB / 0.8312 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.711, allocations: 0 / 0.8312 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.7112, allocations: 67.88 kB / 0.8313 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.7116, allocations: 35.09 kB / 0.8313 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.7142, allocations: 1.739 MB / 0.833 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.7146, allocations: 0.7041 MB / 0.8337 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.7147, allocations: 24.41 kB / 0.8337 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.7148, allocations: 27.42 kB / 0.8338 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7148, allocations: 0 / 0.8338 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.7407, allocations: 3.386 MB / 0.8371 GB, free: 15.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.755, allocations: 23.52 kB / 0.8371 GB, free: 15.71 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi_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_MassFraction_pTphi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)