Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001888/0.001888, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002407/0.002407, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.158/3.158, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_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.002077/0.002077, allocations: 70.27 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07776/0.4201, allocations: 65.19 MB / 1.389 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02701/0.4471, allocations: 17.56 MB / 1.406 GB, free: 15.34 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.4495, allocations: 95.19 kB / 1.406 GB, free: 15.25 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.4519, allocations: 0.8229 MB / 1.407 GB, free: 14.42 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008168/0.4601, allocations: 3.032 MB / 1.41 GB, free: 11.38 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.4644, allocations: 1.682 MB / 1.411 GB, free: 9.699 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005772/0.4702, allocations: 4.057 MB / 1.415 GB, free: 5.637 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.472, allocations: 1.134 MB / 1.416 GB, free: 4.465 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.4763, allocations: 2.004 MB / 1.418 GB, free: 2.457 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.4784, allocations: 1.139 MB / 1.42 GB, free: 1.312 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.4787, allocations: 176 kB / 1.42 GB, free: 1.141 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.4813, allocations: 1.15 MB / 1.421 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003992/0.4817, allocations: 402.4 kB / 1.421 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008686/0.4826, allocations: 0.7155 MB / 1.422 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.4867, allocations: 3.107 MB / 1.425 GB, free: 11.76 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4867, allocations: 0 / 1.425 GB, free: 11.76 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4867, allocations: 0 / 1.425 GB, free: 11.76 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.214e-05/0.4868, allocations: 0 / 1.425 GB, free: 11.76 MB / 1.123 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.003625/0.4904, allocations: 2.012 MB / 1.427 GB, free: 9.699 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4904, allocations: 8.031 kB / 1.427 GB, free: 9.691 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.4906, allocations: 160.6 kB / 1.427 GB, free: 9.527 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.4928, allocations: 455.1 kB / 1.427 GB, free: 9.082 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.4958, allocations: 1.523 MB / 1.429 GB, free: 7.508 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/0.4959, allocations: 78.03 kB / 1.429 GB, free: 7.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.496, allocations: 108 kB / 1.429 GB, free: 7.324 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.4988, allocations: 1.413 MB / 1.431 GB, free: 5.777 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.4988, allocations: 7.938 kB / 1.431 GB, free: 5.77 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.4989, allocations: 44 kB / 1.431 GB, free: 5.727 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.4989, allocations: 28 kB / 1.431 GB, free: 5.699 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.5017, allocations: 1.097 MB / 1.432 GB, free: 4.598 MB / 1.123 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.008481/0.5102, allocations: 5.624 MB / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.5134, allocations: 0.7723 MB / 1.438 GB, free: 14.04 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.514, allocations: 266 kB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/0.5148, allocations: 156.3 kB / 1.438 GB, free: 13.62 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.5148, allocations: 42.88 kB / 1.438 GB, free: 13.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/0.5148, allocations: 4 kB / 1.438 GB, free: 13.56 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.006367/0.5212, allocations: 1.264 MB / 1.44 GB, free: 12.29 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.5213, allocations: 55.84 kB / 1.44 GB, free: 12.22 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/0.5256, allocations: 1.569 MB / 1.441 GB, free: 10.64 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.5257, allocations: 37.7 kB / 1.441 GB, free: 10.6 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.5268, allocations: 0.678 MB / 1.442 GB, free: 9.918 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.5271, allocations: 178.5 kB / 1.442 GB, free: 9.742 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/0.5276, allocations: 174.5 kB / 1.442 GB, free: 9.566 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002884/0.5279, allocations: 337.9 kB / 1.443 GB, free: 9.23 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.5297, allocations: 365.8 kB / 1.443 GB, free: 8.871 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.5323, allocations: 0.9884 MB / 1.444 GB, free: 7.676 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.5356, allocations: 0.8858 MB / 1.445 GB, free: 6.684 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.5357, allocations: 4 kB / 1.445 GB, free: 6.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005664/0.5413, allocations: 1.197 MB / 1.446 GB, free: 5.473 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.5414, allocations: 8 kB / 1.446 GB, free: 5.465 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/0.5414, allocations: 12.03 kB / 1.446 GB, free: 5.453 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.543, allocations: 224.5 kB / 1.446 GB, free: 5.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5444, allocations: 199.7 kB / 1.446 GB, free: 5.035 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.5461, allocations: 0.724 MB / 1.447 GB, free: 4.285 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/0.5491, allocations: 211 kB / 1.447 GB, free: 4.078 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.5494, allocations: 47.92 kB / 1.447 GB, free: 4.031 MB / 1.139 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.001076/0.5504, allocations: 353.6 kB / 1.448 GB, free: 3.676 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.5509, allocations: 166.9 kB / 1.448 GB, free: 3.512 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/0.5551, allocations: 1.145 MB / 1.449 GB, free: 2.348 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.5551, allocations: 16 kB / 1.449 GB, free: 2.332 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.5551, allocations: 0 / 1.449 GB, free: 2.332 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5552, allocations: 3.984 kB / 1.449 GB, free: 2.328 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/0.5641, allocations: 2.308 MB / 1.451 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.5641, allocations: 4 kB / 1.451 GB, free: 15.94 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.5647, allocations: 79.89 kB / 1.451 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.5659, allocations: 216.8 kB / 1.451 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.566, allocations: 15.98 kB / 1.451 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.5681, allocations: 0.767 MB / 1.452 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.066e-06/0.5681, allocations: 7.969 kB / 1.452 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005504/0.5736, allocations: 1.227 MB / 1.453 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.5748, allocations: 286.6 kB / 1.454 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004387/0.5752, allocations: 19.89 kB / 1.454 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.577, allocations: 71.92 kB / 1.454 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5771, allocations: 40.42 kB / 1.454 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.5772, allocations: 23.98 kB / 1.454 GB, free: 13.13 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003686/0.5809, allocations: 1.09 MB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5809, allocations: 0 / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002435/0.5834, allocations: 451.1 kB / 1.455 GB, free: 11.61 MB / 1.154 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.007827/0.5912, allocations: 2.115 MB / 1.457 GB, free: 9.445 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003931/0.5951, allocations: 0.8361 MB / 1.458 GB, free: 8.609 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5951, allocations: 0 / 1.458 GB, free: 8.609 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.5974, allocations: 423.7 kB / 1.459 GB, free: 8.195 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/0.6026, allocations: 0.7432 MB / 1.459 GB, free: 7.465 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/0.6298, allocations: 10.53 MB / 1.47 GB, free: 12.54 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.6309, allocations: 0.5799 MB / 1.47 GB, free: 11.93 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001749/0.6327, allocations: 275.8 kB / 1.47 GB, free: 11.66 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.634, allocations: 0.5422 MB / 1.471 GB, free: 11.12 MB / 1.17 GB Notification: Performance of SimCode: time 1.472e-06/0.634, allocations: 0 / 1.471 GB, free: 11.12 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.146/0.78, allocations: 46.98 MB / 1.517 GB, free: 12.96 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.49, allocations: 11.92 kB / 1.517 GB, free: 12.95 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.29581456584856] Failed to read output from testmodel.py, exit status != 0: 15.640132424421608 15.672735126 15.179618625 Calling exit ...