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.001681/0.001681, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001908/0.001908, allocations: 216.4 kB / 22.25 MB, free: 5.125 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.969 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.9139/0.9139, allocations: 145 MB / 457.4 MB, free: 15.51 MB / 366.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.001958/0.001958, allocations: 61.19 kB / 0.6331 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1975, allocations: 87.89 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5094/0.7069, allocations: 71.93 MB / 0.7892 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02903/0.7359, allocations: 19.14 MB / 0.8079 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.74, allocations: 94.38 kB / 0.808 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.7435, allocations: 0.8508 MB / 0.8088 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.7549, allocations: 3.066 MB / 0.8118 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005764/0.7607, allocations: 1.707 MB / 0.8135 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007516/0.7682, allocations: 4.09 MB / 0.8175 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.7708, allocations: 1.163 MB / 0.8186 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005428/0.7762, allocations: 1.856 MB / 0.8204 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.7794, allocations: 1.239 MB / 0.8217 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.7798, allocations: 177 kB / 0.8218 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.7835, allocations: 1.493 MB / 0.8233 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.784, allocations: 398.5 kB / 0.8237 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.7854, allocations: 0.9187 MB / 0.8246 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005108/0.7905, allocations: 3.328 MB / 0.8278 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7905, allocations: 0 / 0.8278 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7905, allocations: 2.812 kB / 0.8278 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.369e-05/0.7905, allocations: 7.938 kB / 0.8278 GB, free: 12.66 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.003909/0.7944, allocations: 2.003 MB / 0.8298 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7945, allocations: 11.19 kB / 0.8298 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.7947, allocations: 156.8 kB / 0.8299 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.7969, allocations: 453.3 kB / 0.8304 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.8, allocations: 1.507 MB / 0.8318 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.8, allocations: 78.97 kB / 0.8319 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.8002, allocations: 103.8 kB / 0.832 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.8028, allocations: 1.322 MB / 0.8333 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.8029, allocations: 3.938 kB / 0.8333 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.803, allocations: 44 kB / 0.8334 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.803, allocations: 24 kB / 0.8334 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.8056, allocations: 1.105 MB / 0.8345 GB, free: 7.258 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.01011/0.8158, allocations: 7.405 MB / 0.8417 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.819, allocations: 0.779 MB / 0.8424 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.8196, allocations: 262 kB / 0.8427 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/0.8202, allocations: 160.2 kB / 0.8428 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.8203, allocations: 39 kB / 0.8429 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.8203, allocations: 0 / 0.8429 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.005244/0.8255, allocations: 1.264 MB / 0.8441 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.8256, allocations: 55.84 kB / 0.8442 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/0.8295, allocations: 1.553 MB / 0.8457 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.8297, allocations: 41.64 kB / 0.8457 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009358/0.8307, allocations: 0.6819 MB / 0.8464 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.831, allocations: 178.5 kB / 0.8466 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000417/0.8314, allocations: 174.5 kB / 0.8467 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.8317, allocations: 337.9 kB / 0.8471 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.8327, allocations: 361.8 kB / 0.8474 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.8342, allocations: 0.6584 MB / 0.848 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.8362, allocations: 0.8908 MB / 0.8489 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.8362, allocations: 7.938 kB / 0.8489 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003405/0.8396, allocations: 1.193 MB / 0.8501 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.8397, allocations: 8 kB / 0.8501 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.8397, allocations: 8 kB / 0.8501 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/0.8406, allocations: 224.6 kB / 0.8503 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.8414, allocations: 195.7 kB / 0.8505 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009763/0.8424, allocations: 0.7162 MB / 0.8512 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.8442, allocations: 219 kB / 0.8514 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.8443, allocations: 47.98 kB / 0.8515 GB, free: 5.008 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.0007537/0.8451, allocations: 361.5 kB / 0.8518 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.8455, allocations: 155 kB / 0.8519 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.848, allocations: 1.146 MB / 0.8531 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.8481, allocations: 8 kB / 0.8531 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8481, allocations: 0 / 0.8531 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.8481, allocations: 7.984 kB / 0.8531 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005525/0.8536, allocations: 2.503 MB / 0.8555 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.8536, allocations: 0 / 0.8555 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.854, allocations: 88.06 kB / 0.8556 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008926/0.8549, allocations: 208.6 kB / 0.8558 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.855, allocations: 16 kB / 0.8558 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.8564, allocations: 0.7826 MB / 0.8566 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8564, allocations: 0 / 0.8566 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.8604, allocations: 1.223 MB / 0.8578 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/0.8613, allocations: 282.7 kB / 0.8581 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.8615, allocations: 19.94 kB / 0.8581 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.8624, allocations: 72.11 kB / 0.8581 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.8625, allocations: 36.42 kB / 0.8582 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/0.8626, allocations: 35.92 kB / 0.8582 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001841/0.8644, allocations: 1.082 MB / 0.8593 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8644, allocations: 0 / 0.8593 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001585/0.866, allocations: 459 kB / 0.8597 GB, free: 12.41 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.004787/0.8708, allocations: 2.139 MB / 0.8618 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.873, allocations: 0.8288 MB / 0.8626 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8731, allocations: 4.125 kB / 0.8626 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.8744, allocations: 423 kB / 0.863 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/0.8779, allocations: 0.7403 MB / 0.8637 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/0.8978, allocations: 10.5 MB / 0.874 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.8988, allocations: 1.172 MB / 0.8751 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001202/0.9001, allocations: 270.9 kB / 0.8754 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000833/0.9009, allocations: 0.5461 MB / 0.8759 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of SimCode: time 1.513e-06/0.9009, allocations: 0 / 0.8759 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09978/1.001, allocations: 44.88 MB / 0.9197 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.1, allocations: 10.23 kB / 0.9198 GB, free: 15.02 MB / 0.7012 GB " [Timeout remaining time 643] (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: 21.121802857996954] Failed to read output from testmodel.py, exit status != 0: 17.24613860200043 17.271324473 16.475939356 Calling exit ...