Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.00112/0.001119, allocations: 108.6 kB / 15.73 MB, free: 76 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.001144/0.001144, allocations: 187.3 kB / 16.66 MB, free: 6.59 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.01/1.01, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001683, allocations: 59.91 kB / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4209, allocations: 82.03 MB / 0.6751 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002638/0.4236, allocations: 1.872 MB / 0.677 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.595, allocations: 155.5 MB / 0.8288 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.5954, allocations: 0 / 0.8288 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.5957, allocations: 31.72 kB / 0.8288 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.5962, allocations: 67.48 kB / 0.8289 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009743/0.5972, allocations: 259.1 kB / 0.8292 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.5977, allocations: 259.2 kB / 0.8294 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.5979, allocations: 71.36 kB / 0.8295 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.5994, allocations: 262.9 kB / 0.8297 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.5997, allocations: 83.67 kB / 0.8298 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.5997, allocations: 20 kB / 0.8298 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.6002, allocations: 183.7 kB / 0.83 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.6003, allocations: 47.83 kB / 0.83 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.6004, allocations: 83.59 kB / 0.8301 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.601, allocations: 286.4 kB / 0.8304 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.601, allocations: 0 / 0.8304 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.601, allocations: 0 / 0.8304 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.601, allocations: 0 / 0.8304 GB, free: 6.891 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001081/0.6021, allocations: 0.522 MB / 0.8309 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6022, allocations: 8.031 kB / 0.8309 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.6022, allocations: 54.48 kB / 0.831 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.6031, allocations: 87.78 kB / 0.831 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.6035, allocations: 210.8 kB / 0.8312 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-05/0.6036, allocations: 49.95 kB / 0.8313 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.6036, allocations: 16 kB / 0.8313 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.6042, allocations: 259.3 kB / 0.8316 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.6042, allocations: 4 kB / 0.8316 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.6043, allocations: 8 kB / 0.8316 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6043, allocations: 7.938 kB / 0.8316 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.6048, allocations: 171.8 kB / 0.8317 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.6066, allocations: 1.169 MB / 0.8329 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.6073, allocations: 206.6 kB / 0.8331 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.6075, allocations: 72.81 kB / 0.8331 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.6076, allocations: 4 kB / 0.8332 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.6076, allocations: 34.56 kB / 0.8332 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.734e-06/0.6076, allocations: 0 / 0.8332 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002664/0.6103, allocations: 0.6259 MB / 0.8338 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.6103, allocations: 55.34 kB / 0.8338 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.6106, allocations: 201.3 kB / 0.834 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.6106, allocations: 33.7 kB / 0.8341 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.6107, allocations: 139.8 kB / 0.8342 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.6108, allocations: 43.58 kB / 0.8342 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.6109, allocations: 49.64 kB / 0.8343 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.611, allocations: 334.8 kB / 0.8346 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.6113, allocations: 67.94 kB / 0.8347 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.6115, allocations: 127.7 kB / 0.8348 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.612, allocations: 209.8 kB / 0.835 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.612, allocations: 0 / 0.835 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00145/0.6134, allocations: 370.8 kB / 0.8354 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6135, allocations: 11.94 kB / 0.8354 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6135, allocations: 0 / 0.8354 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.6146, allocations: 165.7 kB / 0.8355 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.6148, allocations: 35.97 kB / 0.8356 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.6189, allocations: 3.242 MB / 0.8387 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.6194, allocations: 39.75 kB / 0.8388 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.6194, allocations: 12 kB / 0.8388 GB, free: 13.63 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.6197, allocations: 145.6 kB / 0.8389 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.6198, allocations: 15.91 kB / 0.8389 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.6217, allocations: 370.6 kB / 0.8393 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6217, allocations: 0 / 0.8393 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6217, allocations: 0 / 0.8393 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6217, allocations: 4 kB / 0.8393 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.6221, allocations: 269.4 kB / 0.8395 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6221, allocations: 3.938 kB / 0.8395 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.6222, allocations: 19.98 kB / 0.8396 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/0.6231, allocations: 145.6 kB / 0.8397 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.6231, allocations: 3.938 kB / 0.8397 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.6273, allocations: 3.304 MB / 0.8429 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6273, allocations: 0 / 0.8429 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.6286, allocations: 428.8 kB / 0.8433 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.6288, allocations: 112.9 kB / 0.8435 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.6288, allocations: 15.88 kB / 0.8435 GB, free: 8.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.6291, allocations: 11.98 kB / 0.8435 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.6292, allocations: 19.97 kB / 0.8435 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.6292, allocations: 11.94 kB / 0.8435 GB, free: 8.371 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001747/0.6294, allocations: 148.8 kB / 0.8437 GB, free: 8.227 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6294, allocations: 0 / 0.8437 GB, free: 8.227 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004188/0.6298, allocations: 71.92 kB / 0.8437 GB, free: 8.156 MB / 0.67 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/0.6315, allocations: 0.9697 MB / 0.8447 GB, free: 7.152 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.6326, allocations: 441.6 kB / 0.8451 GB, free: 6.695 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6326, allocations: 0 / 0.8451 GB, free: 6.695 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.6333, allocations: 361.3 kB / 0.8454 GB, free: 6.316 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.6337, allocations: 69.61 kB / 0.8455 GB, free: 6.25 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.6387, allocations: 2.514 MB / 0.848 GB, free: 3.609 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.639, allocations: 0.7284 MB / 0.8487 GB, free: 2.852 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000175/0.6392, allocations: 33.95 kB / 0.8487 GB, free: 2.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.6393, allocations: 59.41 kB / 0.8488 GB, free: 2.762 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/0.6393, allocations: 0 / 0.8488 GB, free: 2.762 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.6709, allocations: 7.317 MB / 0.8559 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.43, allocations: 11.73 kB / 0.8559 GB, free: 11.68 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)