Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.00177/0.00177, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002274/0.002274, allocations: 216 kB / 23 MB, free: 5 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9696/0.9696, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002015/0.002015, allocations: 66.14 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1759, allocations: 89.16 MB / 0.7283 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4245/0.6004, allocations: 72.02 MB / 0.7987 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02746/0.6279, allocations: 19.11 MB / 0.8173 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002939/0.6308, allocations: 102.6 kB / 0.8174 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.6334, allocations: 0.851 MB / 0.8183 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009271/0.6427, allocations: 3.051 MB / 0.8212 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005235/0.648, allocations: 1.712 MB / 0.8229 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007778/0.6557, allocations: 4.078 MB / 0.8269 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.6579, allocations: 1.168 MB / 0.828 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.6629, allocations: 1.982 MB / 0.83 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.6657, allocations: 1.213 MB / 0.8311 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003797/0.6661, allocations: 175.1 kB / 0.8313 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.6697, allocations: 1.486 MB / 0.8328 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000514/0.6702, allocations: 400.2 kB / 0.8331 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.6716, allocations: 0.9195 MB / 0.834 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.6767, allocations: 3.161 MB / 0.8371 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6767, allocations: 0 / 0.8371 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6767, allocations: 1.125 kB / 0.8371 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.214e-05/0.6767, allocations: 4 kB / 0.8371 GB, free: 3.551 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.003905/0.6806, allocations: 2.009 MB / 0.8391 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6807, allocations: 9.219 kB / 0.8391 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.6808, allocations: 158.7 kB / 0.8393 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.6832, allocations: 459.4 kB / 0.8397 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.6862, allocations: 1.512 MB / 0.8412 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/0.6863, allocations: 85.94 kB / 0.8413 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6864, allocations: 106 kB / 0.8414 GB, free: 440 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.6889, allocations: 1.316 MB / 0.8426 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.689, allocations: 3.938 kB / 0.8426 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/0.6891, allocations: 43.09 kB / 0.8427 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.6891, allocations: 38.34 kB / 0.8427 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.6916, allocations: 1.105 MB / 0.8438 GB, free: 14.91 MB / 0.6231 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.009314/0.7009, allocations: 7.366 MB / 0.851 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.7039, allocations: 0.7673 MB / 0.8517 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.7045, allocations: 266 kB / 0.852 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.7051, allocations: 166.8 kB / 0.8522 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.7051, allocations: 37.47 kB / 0.8522 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.7051, allocations: 0 / 0.8522 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004673/0.7098, allocations: 1.262 MB / 0.8534 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.7098, allocations: 61.25 kB / 0.8535 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.7124, allocations: 1.559 MB / 0.855 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.88e-05/0.7125, allocations: 37.7 kB / 0.855 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.7132, allocations: 0.6819 MB / 0.8557 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.7133, allocations: 178.5 kB / 0.8559 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.7136, allocations: 174.5 kB / 0.856 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7138, allocations: 341.9 kB / 0.8564 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009821/0.7148, allocations: 361.8 kB / 0.8567 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.716, allocations: 0.6624 MB / 0.8574 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.7179, allocations: 0.8819 MB / 0.8582 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7179, allocations: 4 kB / 0.8582 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003141/0.7211, allocations: 1.199 MB / 0.8594 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.7211, allocations: 8 kB / 0.8594 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7211, allocations: 8 kB / 0.8594 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009011/0.722, allocations: 224.6 kB / 0.8596 GB, free: 264 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/0.7228, allocations: 187.7 kB / 0.8598 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009624/0.7238, allocations: 0.7241 MB / 0.8605 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.7255, allocations: 229 kB / 0.8607 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.7257, allocations: 39.98 kB / 0.8608 GB, free: 15.06 MB / 0.6387 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.0006301/0.7263, allocations: 358.7 kB / 0.8611 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.7266, allocations: 159 kB / 0.8613 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.7291, allocations: 1.146 MB / 0.8624 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7292, allocations: 8 kB / 0.8624 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7292, allocations: 0 / 0.8624 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7292, allocations: 8.859 kB / 0.8624 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.7351, allocations: 2.511 MB / 0.8649 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.7351, allocations: 4 kB / 0.8649 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.7355, allocations: 84.08 kB / 0.8649 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008086/0.7363, allocations: 216.5 kB / 0.8651 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.7363, allocations: 15.98 kB / 0.8652 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.7377, allocations: 0.7786 MB / 0.8659 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7377, allocations: 4.031 kB / 0.8659 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/0.7414, allocations: 1.222 MB / 0.8671 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/0.7422, allocations: 282.6 kB / 0.8674 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.7424, allocations: 16 kB / 0.8674 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.7433, allocations: 67.92 kB / 0.8675 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7434, allocations: 44.42 kB / 0.8675 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.7435, allocations: 27.97 kB / 0.8675 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002017/0.7455, allocations: 1.09 MB / 0.8686 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7455, allocations: 0 / 0.8686 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001651/0.7472, allocations: 451.1 kB / 0.869 GB, free: 6.465 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.004832/0.752, allocations: 2.126 MB / 0.8711 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.7544, allocations: 0.8286 MB / 0.8719 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7544, allocations: 4 kB / 0.8719 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.7558, allocations: 423.4 kB / 0.8723 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/0.7593, allocations: 0.7337 MB / 0.873 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/0.7788, allocations: 10.55 MB / 0.8833 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.7797, allocations: 1.179 MB / 0.8845 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00124/0.781, allocations: 268.1 kB / 0.8847 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008168/0.7818, allocations: 0.5461 MB / 0.8853 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of SimCode: time 1.262e-06/0.7818, allocations: 0 / 0.8853 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09121/0.873, allocations: 44.54 MB / 0.9288 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/17.03, allocations: 8 kB / 0.9288 GB, free: 9.273 MB / 0.7012 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.924718649002898] Failed to read output from testmodel.py, exit status != 0: 17.171739085999434 17.199362988 16.517119509 Calling exit ...