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-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.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.009636/0.009636, allocations: 102 kB / 15.73 MB, free: 6.062 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.00199/0.00199, allocations: 192 kB / 16.67 MB, free: 5.973 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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 0.9223/0.9223, allocations: 143.3 MB / 433.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 76.38 kB / 0.5953 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1645, allocations: 82.03 MB / 0.6754 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003116/0.1676, allocations: 1.878 MB / 0.6772 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5666/0.7342, allocations: 155.5 MB / 0.8291 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.7344, allocations: 0 / 0.8291 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.7346, allocations: 26.62 kB / 0.8291 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.7349, allocations: 62 kB / 0.8292 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.7357, allocations: 264.5 kB / 0.8294 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.736, allocations: 257.7 kB / 0.8297 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.7362, allocations: 81.84 kB / 0.8297 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.7376, allocations: 237.8 kB / 0.83 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.7378, allocations: 90.05 kB / 0.83 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.7378, allocations: 15 kB / 0.8301 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.7382, allocations: 189 kB / 0.8302 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.7383, allocations: 45.53 kB / 0.8303 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.7384, allocations: 83.53 kB / 0.8304 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.7389, allocations: 288.8 kB / 0.8306 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.7389, allocations: 0 / 0.8306 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7389, allocations: 2.844 kB / 0.8306 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.7389, allocations: 0 / 0.8306 GB, free: 9.418 MB / 0.6075 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.0009391/0.7398, allocations: 0.5098 MB / 0.8311 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7399, allocations: 9.656 kB / 0.8311 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.7399, allocations: 51.83 kB / 0.8312 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008399/0.7408, allocations: 90.45 kB / 0.8313 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.7411, allocations: 220.8 kB / 0.8315 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/0.7412, allocations: 45.22 kB / 0.8315 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.7412, allocations: 20.92 kB / 0.8316 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.7418, allocations: 258.5 kB / 0.8318 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7418, allocations: 6.844 kB / 0.8318 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.7418, allocations: 4 kB / 0.8318 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7418, allocations: 8.875 kB / 0.8318 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.7423, allocations: 161.2 kB / 0.832 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.744, allocations: 1.179 MB / 0.8331 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.7448, allocations: 212.4 kB / 0.8333 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.745, allocations: 70 kB / 0.8334 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.745, allocations: 2.781 kB / 0.8334 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.745, allocations: 34.56 kB / 0.8334 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.7451, allocations: 2.438 kB / 0.8334 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.00268/0.7477, allocations: 0.6261 MB / 0.834 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.7478, allocations: 53.47 kB / 0.8341 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.748, allocations: 207.4 kB / 0.8343 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.7481, allocations: 25.7 kB / 0.8343 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.7482, allocations: 135.2 kB / 0.8344 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.7482, allocations: 48.53 kB / 0.8345 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.7483, allocations: 52.94 kB / 0.8345 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7485, allocations: 331.6 kB / 0.8349 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.7487, allocations: 67.2 kB / 0.8349 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.749, allocations: 135.5 kB / 0.8351 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.7495, allocations: 202.2 kB / 0.8352 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7495, allocations: 3.938 kB / 0.8353 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001453/0.7509, allocations: 371.5 kB / 0.8356 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.751, allocations: 7.469 kB / 0.8356 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.751, allocations: 5.203 kB / 0.8356 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.752, allocations: 160.9 kB / 0.8358 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.7522, allocations: 47.45 kB / 0.8358 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.7566, allocations: 3.245 MB / 0.839 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.7571, allocations: 40.17 kB / 0.839 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.7571, allocations: 11.42 kB / 0.839 GB, free: 1.918 MB / 0.6075 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.000175/0.7573, allocations: 133.5 kB / 0.8392 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.7574, allocations: 15.56 kB / 0.8392 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.7587, allocations: 376 kB / 0.8395 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.7587, allocations: 2.344 kB / 0.8395 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.7587, allocations: 0 / 0.8395 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7587, allocations: 0 / 0.8395 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.7591, allocations: 272.5 kB / 0.8398 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7591, allocations: 0 / 0.8398 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.7592, allocations: 29.25 kB / 0.8398 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008369/0.7601, allocations: 140.1 kB / 0.84 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.7601, allocations: 4 kB / 0.84 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004237/0.7644, allocations: 3.305 MB / 0.8432 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7644, allocations: 0 / 0.8432 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.7658, allocations: 433.5 kB / 0.8436 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.766, allocations: 109.1 kB / 0.8437 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.766, allocations: 7.938 kB / 0.8437 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.7663, allocations: 15.28 kB / 0.8437 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.7664, allocations: 26.08 kB / 0.8438 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.7665, allocations: 2.844 kB / 0.8438 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002079/0.7667, allocations: 148.7 kB / 0.8439 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7667, allocations: 0 / 0.8439 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004442/0.7671, allocations: 70.16 kB / 0.844 GB, free: 13.4 MB / 0.6231 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.001667/0.7688, allocations: 0.9755 MB / 0.8449 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.77, allocations: 447.7 kB / 0.8453 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.77, allocations: 0 / 0.8453 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.7708, allocations: 360.5 kB / 0.8457 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.7713, allocations: 67.42 kB / 0.8458 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.7768, allocations: 2.508 MB / 0.8482 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.7772, allocations: 0.7238 MB / 0.8489 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.7774, allocations: 47.2 kB / 0.849 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.7776, allocations: 53.59 kB / 0.849 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of SimCode: time 3.808e-06/0.7776, allocations: 0 / 0.849 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/0.8326, allocations: 7.312 MB / 0.8561 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.86, allocations: 7.766 kB / 0.8562 GB, free: 3.711 MB / 0.6231 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)