Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 108.5 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9705/0.9705, allocations: 145 MB / 453.8 MB, free: 0.7031 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 62.91 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1958, allocations: 87.83 MB / 0.7138 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4994/0.6952, allocations: 71.23 MB / 0.7833 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02806/0.7233, allocations: 19.03 MB / 0.8019 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003619/0.7269, allocations: 99.62 kB / 0.802 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.7297, allocations: 0.8602 MB / 0.8029 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009437/0.7392, allocations: 2.994 MB / 0.8058 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004612/0.7438, allocations: 1.675 MB / 0.8074 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006437/0.7502, allocations: 4.036 MB / 0.8114 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.7522, allocations: 1.177 MB / 0.8125 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.7566, allocations: 1.835 MB / 0.8143 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.759, allocations: 1.241 MB / 0.8155 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003061/0.7593, allocations: 176.8 kB / 0.8157 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.7626, allocations: 1.466 MB / 0.8171 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.763, allocations: 399.2 kB / 0.8175 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.7643, allocations: 0.9203 MB / 0.8184 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.7697, allocations: 3.327 MB / 0.8217 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7697, allocations: 0 / 0.8217 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7697, allocations: 0 / 0.8217 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.853e-05/0.7697, allocations: 4 kB / 0.8217 GB, free: 15.93 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004658/0.7744, allocations: 2.084 MB / 0.8237 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.7744, allocations: 11.19 kB / 0.8237 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.7747, allocations: 154.2 kB / 0.8239 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.7772, allocations: 455.7 kB / 0.8243 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.7801, allocations: 1.563 MB / 0.8258 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/0.7802, allocations: 87.61 kB / 0.8259 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.7804, allocations: 101.8 kB / 0.826 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.783, allocations: 1.322 MB / 0.8273 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.7831, allocations: 6.812 kB / 0.8273 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7832, allocations: 43.56 kB / 0.8273 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.7832, allocations: 23.72 kB / 0.8274 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.7861, allocations: 1.097 MB / 0.8284 GB, free: 10.87 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.7962, allocations: 7.543 MB / 0.8358 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.7997, allocations: 0.7667 MB / 0.8365 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.8004, allocations: 262 kB / 0.8368 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.8019, allocations: 1.73 MB / 0.8385 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.802, allocations: 48.05 kB / 0.8385 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.715e-06/0.802, allocations: 0 / 0.8385 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.005405/0.8074, allocations: 1.347 MB / 0.8398 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.8074, allocations: 55.84 kB / 0.8399 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.8103, allocations: 1.538 MB / 0.8414 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.8104, allocations: 37.7 kB / 0.8414 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006722/0.811, allocations: 0.6896 MB / 0.8421 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.8112, allocations: 182.5 kB / 0.8423 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.8116, allocations: 166.5 kB / 0.8424 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8117, allocations: 337.9 kB / 0.8428 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.8128, allocations: 361.8 kB / 0.8431 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.8142, allocations: 0.6585 MB / 0.8438 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.8162, allocations: 0.8829 MB / 0.8446 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.8162, allocations: 7.938 kB / 0.8446 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003446/0.8196, allocations: 1.206 MB / 0.8458 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.8196, allocations: 8 kB / 0.8458 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.8197, allocations: 8 kB / 0.8458 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009885/0.8206, allocations: 216.7 kB / 0.846 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.8215, allocations: 192.6 kB / 0.8462 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009887/0.8225, allocations: 0.7201 MB / 0.8469 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.8242, allocations: 224.6 kB / 0.8471 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.8243, allocations: 35.98 kB / 0.8472 GB, free: 6.426 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006725/0.8249, allocations: 357.6 kB / 0.8475 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.8253, allocations: 159 kB / 0.8476 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.8279, allocations: 1.137 MB / 0.8488 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.8279, allocations: 12 kB / 0.8488 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8279, allocations: 0 / 0.8488 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.828, allocations: 3.984 kB / 0.8488 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005755/0.8337, allocations: 2.507 MB / 0.8512 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8337, allocations: 7.938 kB / 0.8512 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.8341, allocations: 79.89 kB / 0.8513 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008385/0.8349, allocations: 216.8 kB / 0.8515 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.835, allocations: 15.98 kB / 0.8515 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.8365, allocations: 0.7747 MB / 0.8523 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.8365, allocations: 7.969 kB / 0.8523 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.8403, allocations: 1.208 MB / 0.8535 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007378/0.841, allocations: 363.6 kB / 0.8538 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.8412, allocations: 16 kB / 0.8538 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.8422, allocations: 67.92 kB / 0.8539 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.8423, allocations: 48.5 kB / 0.8539 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.8423, allocations: 23.98 kB / 0.854 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001961/0.8443, allocations: 1.086 MB / 0.855 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8443, allocations: 0 / 0.855 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001735/0.846, allocations: 451.1 kB / 0.8555 GB, free: 13.74 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005043/0.8511, allocations: 2.126 MB / 0.8575 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.8535, allocations: 0.8252 MB / 0.8583 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.8535, allocations: 4.312 kB / 0.8583 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.8549, allocations: 411.3 kB / 0.8587 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.8583, allocations: 0.7387 MB / 0.8595 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/0.8779, allocations: 10.5 MB / 0.8697 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/0.8788, allocations: 1.168 MB / 0.8709 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001128/0.8799, allocations: 278.4 kB / 0.8711 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/0.8808, allocations: 0.5422 MB / 0.8716 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.8808, allocations: 0 / 0.8716 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09513/0.9759, allocations: 44.21 MB / 0.9148 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.62, allocations: 7.266 kB / 0.9148 GB, free: 1.082 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_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_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.52006845199503] Failed to read output from testmodel.py, exit status != 0: 15.74167609900178 15.762560477 14.988643735 Calling exit ...