Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.001967/0.001967, 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.001777/0.001777, allocations: 212 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.323/3.323, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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.002031/0.002031, allocations: 62.89 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06311/0.4125, allocations: 56.57 MB / 1.419 GB, free: 5.348 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.4301, allocations: 11.13 MB / 1.43 GB, free: 10.19 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.4319, allocations: 83.25 kB / 1.43 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.4336, allocations: 0.6753 MB / 1.43 GB, free: 9.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.4392, allocations: 2.08 MB / 1.432 GB, free: 7.34 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.4422, allocations: 1.229 MB / 1.433 GB, free: 6.121 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004141/0.4464, allocations: 3.098 MB / 1.436 GB, free: 3.012 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.4477, allocations: 0.8545 MB / 1.437 GB, free: 2.121 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.4511, allocations: 1.535 MB / 1.439 GB, free: 0.582 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.4525, allocations: 0.8593 MB / 1.44 GB, free: 15.71 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.4527, allocations: 124 kB / 1.44 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.4551, allocations: 1.17 MB / 1.441 GB, free: 14.43 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.4554, allocations: 298.7 kB / 1.441 GB, free: 14.13 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006532/0.4561, allocations: 0.552 MB / 1.442 GB, free: 13.58 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.4596, allocations: 2.285 MB / 1.444 GB, free: 11.29 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.4596, allocations: 4 kB / 1.444 GB, free: 11.28 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4596, allocations: 0 / 1.444 GB, free: 11.28 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.4597, allocations: 0 / 1.444 GB, free: 11.28 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003128/0.4628, allocations: 1.688 MB / 1.446 GB, free: 9.551 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4628, allocations: 8.031 kB / 1.446 GB, free: 9.543 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.463, allocations: 130.9 kB / 1.446 GB, free: 9.406 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.4651, allocations: 419.3 kB / 1.446 GB, free: 8.996 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.4675, allocations: 1.119 MB / 1.447 GB, free: 7.824 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.4675, allocations: 66 kB / 1.447 GB, free: 7.762 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4676, allocations: 80 kB / 1.447 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.4697, allocations: 1.073 MB / 1.448 GB, free: 6.531 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.4697, allocations: 3.938 kB / 1.448 GB, free: 6.527 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.4698, allocations: 36 kB / 1.448 GB, free: 6.492 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4698, allocations: 16 kB / 1.449 GB, free: 6.477 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.4721, allocations: 0.8546 MB / 1.449 GB, free: 5.625 MB / 1.139 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.006199/0.4783, allocations: 3.855 MB / 1.453 GB, free: 1.648 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.4817, allocations: 0.7518 MB / 1.454 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/0.4825, allocations: 286.8 kB / 1.454 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/0.4828, allocations: 79.94 kB / 1.454 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.4828, allocations: 42.5 kB / 1.454 GB, free: 488 kB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.4828, allocations: 0 / 1.454 GB, free: 488 kB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.007009/0.4898, allocations: 1.626 MB / 1.456 GB, free: 14.84 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4898, allocations: 59.36 kB / 1.456 GB, free: 14.77 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.4915, allocations: 1.099 MB / 1.457 GB, free: 13.66 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.4916, allocations: 41.64 kB / 1.457 GB, free: 13.61 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.492, allocations: 0.5359 MB / 1.458 GB, free: 13.07 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.4922, allocations: 166.6 kB / 1.458 GB, free: 12.91 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.4924, allocations: 134.2 kB / 1.458 GB, free: 12.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4926, allocations: 334 kB / 1.458 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008926/0.4935, allocations: 299.3 kB / 1.458 GB, free: 12.14 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.4948, allocations: 0.9055 MB / 1.459 GB, free: 11.05 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.4965, allocations: 0.7211 MB / 1.46 GB, free: 10.25 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4965, allocations: 0 / 1.46 GB, free: 10.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002815/0.4993, allocations: 1.009 MB / 1.461 GB, free: 9.234 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4994, allocations: 11.94 kB / 1.461 GB, free: 9.223 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4994, allocations: 4 kB / 1.461 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.5007, allocations: 307.2 kB / 1.461 GB, free: 8.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.5012, allocations: 127.8 kB / 1.461 GB, free: 8.793 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.5027, allocations: 0.8997 MB / 1.462 GB, free: 7.867 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.5039, allocations: 151.4 kB / 1.462 GB, free: 7.719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.504, allocations: 35.98 kB / 1.462 GB, free: 7.684 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00127/0.5053, allocations: 0.509 MB / 1.463 GB, free: 7.172 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001289/0.5066, allocations: 0.9016 MB / 1.464 GB, free: 6.082 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00167/0.5082, allocations: 0.6907 MB / 1.465 GB, free: 5.32 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.5083, allocations: 11.94 kB / 1.465 GB, free: 5.309 MB / 1.154 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002732/0.511, allocations: 1.001 MB / 1.466 GB, free: 4.297 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.511, allocations: 12.03 kB / 1.466 GB, free: 4.285 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.511, allocations: 4 kB / 1.466 GB, free: 4.281 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.5121, allocations: 288.7 kB / 1.466 GB, free: 3.996 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.5126, allocations: 131.8 kB / 1.466 GB, free: 3.867 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.5141, allocations: 0.8903 MB / 1.467 GB, free: 2.953 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.5152, allocations: 135.7 kB / 1.467 GB, free: 2.82 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.5153, allocations: 31.98 kB / 1.467 GB, free: 2.789 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.5155, allocations: 216.1 kB / 1.467 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.5157, allocations: 123.2 kB / 1.467 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.5182, allocations: 0.93 MB / 1.468 GB, free: 1.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.5182, allocations: 8 kB / 1.468 GB, free: 1.492 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5182, allocations: 0 / 1.468 GB, free: 1.492 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.5182, allocations: 3.984 kB / 1.468 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.5234, allocations: 1.978 MB / 1.47 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.5234, allocations: 8.062 kB / 1.47 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.5237, allocations: 63.83 kB / 1.47 GB, free: 15.37 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009878/0.5247, allocations: 292.5 kB / 1.47 GB, free: 15.08 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.5247, allocations: 19.98 kB / 1.47 GB, free: 15.06 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.5262, allocations: 0.9254 MB / 1.471 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.5262, allocations: 7.938 kB / 1.471 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/0.5301, allocations: 1.145 MB / 1.473 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/0.5308, allocations: 195.1 kB / 1.473 GB, free: 12.71 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.5309, allocations: 12 kB / 1.473 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.5317, allocations: 63.92 kB / 1.473 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5318, allocations: 51.75 kB / 1.473 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.5319, allocations: 19.98 kB / 1.473 GB, free: 12.57 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001348/0.5332, allocations: 0.7553 MB / 1.474 GB, free: 11.81 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5332, allocations: 0 / 1.474 GB, free: 11.81 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001798/0.535, allocations: 0.573 MB / 1.474 GB, free: 11.23 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004745/0.5398, allocations: 1.952 MB / 1.476 GB, free: 9.223 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003241/0.543, allocations: 1.086 MB / 1.477 GB, free: 8.137 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.543, allocations: 0 / 1.477 GB, free: 8.137 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.5439, allocations: 330.5 kB / 1.477 GB, free: 7.816 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.5462, allocations: 0.503 MB / 1.478 GB, free: 7.316 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.5638, allocations: 8.453 MB / 1.486 GB, free: 14.54 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.5643, allocations: 482.1 kB / 1.487 GB, free: 14.03 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008862/0.5652, allocations: 224.8 kB / 1.487 GB, free: 13.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/0.5658, allocations: 423.2 kB / 1.487 GB, free: 13.39 MB / 1.186 GB Notification: Performance of SimCode: time 1.152e-06/0.5658, allocations: 4 kB / 1.487 GB, free: 13.39 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07614/0.6419, allocations: 34.73 MB / 1.521 GB, free: 11.27 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.73, allocations: 3.75 kB / 1.521 GB, free: 11.27 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 21.916922357864678] Failed to read output from testmodel.py, exit status != 0: 14.905845038127154 14.934519545 14.469624045 Calling exit ...