Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001592/0.001592, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00201/0.00201, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476 MB / 0.7699 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002111/0.002111, allocations: 64.47 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3266, allocations: 170 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08144/0.408, allocations: 65.09 MB / 1.346 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02712/0.4351, allocations: 17.56 MB / 1.363 GB, free: 9.473 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.4377, allocations: 95.19 kB / 1.363 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.4407, allocations: 0.8229 MB / 1.364 GB, free: 8.551 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009026/0.4497, allocations: 3.03 MB / 1.367 GB, free: 5.508 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.4552, allocations: 1.69 MB / 1.369 GB, free: 3.824 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007241/0.4624, allocations: 4.066 MB / 1.373 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.4647, allocations: 1.143 MB / 1.374 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.4694, allocations: 1.877 MB / 1.376 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.4719, allocations: 1.159 MB / 1.377 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.4724, allocations: 172 kB / 1.377 GB, free: 11.35 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.4754, allocations: 1.158 MB / 1.378 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005176/0.4759, allocations: 398.4 kB / 1.378 GB, free: 9.801 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.4771, allocations: 0.7194 MB / 1.379 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004839/0.4819, allocations: 3.095 MB / 1.382 GB, free: 5.973 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4819, allocations: 0 / 1.382 GB, free: 5.973 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4819, allocations: 4 kB / 1.382 GB, free: 5.969 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.928e-05/0.4819, allocations: 0 / 1.382 GB, free: 5.969 MB / 1.076 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.003934/0.4859, allocations: 2.007 MB / 1.384 GB, free: 3.914 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4859, allocations: 8.031 kB / 1.384 GB, free: 3.906 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.4861, allocations: 156.6 kB / 1.384 GB, free: 3.746 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.4885, allocations: 455.2 kB / 1.385 GB, free: 3.301 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.4916, allocations: 1.511 MB / 1.386 GB, free: 1.742 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.501e-05/0.4917, allocations: 78.03 kB / 1.386 GB, free: 1.664 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.4919, allocations: 108 kB / 1.386 GB, free: 1.559 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.4948, allocations: 1.41 MB / 1.388 GB, free: 16 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.4948, allocations: 11.92 kB / 1.388 GB, free: 4 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.4949, allocations: 48.08 kB / 1.388 GB, free: 15.95 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.4949, allocations: 24 kB / 1.388 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.4979, allocations: 1.101 MB / 1.389 GB, free: 14.83 MB / 1.092 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.009021/0.5069, allocations: 5.608 MB / 1.394 GB, free: 9.059 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.5103, allocations: 0.7671 MB / 1.395 GB, free: 8.285 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007397/0.511, allocations: 262 kB / 1.395 GB, free: 8.027 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006821/0.5117, allocations: 168.3 kB / 1.396 GB, free: 7.863 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.5118, allocations: 42.94 kB / 1.396 GB, free: 7.812 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.5118, allocations: 0 / 1.396 GB, free: 7.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.005164/0.5169, allocations: 1.268 MB / 1.397 GB, free: 6.535 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.517, allocations: 55.84 kB / 1.397 GB, free: 6.469 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.5196, allocations: 1.557 MB / 1.398 GB, free: 4.902 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.5197, allocations: 37.7 kB / 1.398 GB, free: 4.859 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/0.5205, allocations: 0.6857 MB / 1.399 GB, free: 4.168 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.5207, allocations: 182.5 kB / 1.399 GB, free: 3.988 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.521, allocations: 178.5 kB / 1.399 GB, free: 3.809 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5212, allocations: 330 kB / 1.4 GB, free: 3.48 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.5222, allocations: 365.8 kB / 1.4 GB, free: 3.125 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.5239, allocations: 0.9852 MB / 1.401 GB, free: 1.934 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.5259, allocations: 0.8974 MB / 1.402 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.526, allocations: 4 kB / 1.402 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003252/0.5292, allocations: 1.189 MB / 1.403 GB, free: 15.72 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.5292, allocations: 8 kB / 1.403 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5292, allocations: 8 kB / 1.403 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009331/0.5302, allocations: 224.6 kB / 1.403 GB, free: 15.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.531, allocations: 191.7 kB / 1.404 GB, free: 15.3 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.532, allocations: 0.7278 MB / 1.404 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.5336, allocations: 211.1 kB / 1.404 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/0.5337, allocations: 43.98 kB / 1.405 GB, free: 14.29 MB / 1.107 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.0006246/0.5343, allocations: 360 kB / 1.405 GB, free: 13.93 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.5346, allocations: 155 kB / 1.405 GB, free: 13.78 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.5373, allocations: 1.15 MB / 1.406 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.5373, allocations: 12 kB / 1.406 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.5373, allocations: 0 / 1.406 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5373, allocations: 7.984 kB / 1.406 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/0.543, allocations: 2.3 MB / 1.408 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.543, allocations: 4 kB / 1.408 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.5434, allocations: 83.88 kB / 1.408 GB, free: 10.14 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.5442, allocations: 212.6 kB / 1.409 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.5443, allocations: 23.98 kB / 1.409 GB, free: 9.902 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.5457, allocations: 0.7669 MB / 1.409 GB, free: 9.109 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5457, allocations: 8.016 kB / 1.409 GB, free: 9.102 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.5494, allocations: 1.223 MB / 1.411 GB, free: 7.84 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.5502, allocations: 278.7 kB / 1.411 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.5504, allocations: 12 kB / 1.411 GB, free: 7.555 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.5513, allocations: 71.86 kB / 1.411 GB, free: 7.484 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5514, allocations: 48.34 kB / 1.411 GB, free: 7.438 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.5515, allocations: 27.98 kB / 1.411 GB, free: 7.41 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001964/0.5534, allocations: 1.082 MB / 1.412 GB, free: 6.332 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.5534, allocations: 0 / 1.412 GB, free: 6.332 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001393/0.5548, allocations: 455 kB / 1.413 GB, free: 5.887 MB / 1.107 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.004775/0.5596, allocations: 2.125 MB / 1.415 GB, free: 3.715 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.562, allocations: 0.8364 MB / 1.415 GB, free: 2.883 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.562, allocations: 0 / 1.415 GB, free: 2.883 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.5633, allocations: 423.4 kB / 1.416 GB, free: 2.473 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/0.5667, allocations: 0.7357 MB / 1.417 GB, free: 1.746 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.5859, allocations: 10.5 MB / 1.427 GB, free: 6.859 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.5866, allocations: 0.5836 MB / 1.427 GB, free: 6.242 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001175/0.5878, allocations: 265.1 kB / 1.428 GB, free: 5.98 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/0.5886, allocations: 0.5539 MB / 1.428 GB, free: 5.426 MB / 1.123 GB Notification: Performance of SimCode: time 8.22e-07/0.5886, allocations: 3.938 kB / 1.428 GB, free: 5.422 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0981/0.6867, allocations: 46.92 MB / 1.474 GB, free: 7.328 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.23, allocations: 7.031 kB / 1.474 GB, free: 7.324 MB / 1.17 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.013396536000073] Failed to read output from testmodel.py, exit status != 0: 15.894934338051826 15.392108714 14.90682421 Calling exit ...