Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.4 MB, free: 3.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.107 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9651, allocations: 168.7 MB / 1.272 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06028/1.025, allocations: 54.68 MB / 1.325 GB, free: 0.875 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03037/1.056, allocations: 17.13 MB / 1.342 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/1.06, allocations: 89.19 kB / 1.342 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.007039/1.067, allocations: 1.936 MB / 1.344 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009088/1.077, allocations: 2.615 MB / 1.346 GB, free: 2.375 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00813/1.085, allocations: 2.397 MB / 1.349 GB, free: 1.121 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01536/1.1, allocations: 7.598 MB / 1.356 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/1.104, allocations: 1.365 MB / 1.357 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006672/1.11, allocations: 1.974 MB / 1.359 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/1.114, allocations: 1.499 MB / 1.361 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006948/1.115, allocations: 178 kB / 1.361 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/1.121, allocations: 2.055 MB / 1.363 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/1.123, allocations: 0.6885 MB / 1.364 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002369/1.125, allocations: 1.215 MB / 1.365 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009178/1.134, allocations: 3.953 MB / 1.369 GB, free: 6.629 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.134, allocations: 0 / 1.369 GB, free: 6.629 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/1.134, allocations: 0 / 1.369 GB, free: 6.629 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001094/1.134, allocations: 0 / 1.369 GB, free: 6.629 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006937/1.141, allocations: 3.037 MB / 1.372 GB, free: 4.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.141, allocations: 14.45 kB / 1.372 GB, free: 4.316 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/1.142, allocations: 170.1 kB / 1.372 GB, free: 4.176 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/1.144, allocations: 0.5625 MB / 1.372 GB, free: 3.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005893/1.15, allocations: 2.752 MB / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.15, allocations: 96.17 kB / 1.375 GB, free: 1.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/1.151, allocations: 118.3 kB / 1.375 GB, free: 1.945 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/1.154, allocations: 1.362 MB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.154, allocations: 1.875 kB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.154, allocations: 55.08 kB / 1.377 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/1.154, allocations: 40.8 kB / 1.377 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/1.157, allocations: 1.107 MB / 1.378 GB, free: 460 kB / 1.061 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.01138/1.168, allocations: 7.474 MB / 1.385 GB, free: 9.789 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/1.171, allocations: 1.301 MB / 1.386 GB, free: 8.785 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009867/1.172, allocations: 392.3 kB / 1.387 GB, free: 8.594 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00655/1.178, allocations: 3.159 MB / 1.39 GB, free: 5.668 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/1.179, allocations: 432.4 kB / 1.39 GB, free: 5.414 MB / 1.076 GB Notification: Performance of pre-optimization done (n=59): time 2.695e-06/1.179, allocations: 4 kB / 1.39 GB, free: 5.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=59): time 0.003745/1.183, allocations: 1.248 MB / 1.391 GB, free: 4.734 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/1.183, allocations: 59.62 kB / 1.391 GB, free: 4.672 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003719/1.187, allocations: 2.127 MB / 1.393 GB, free: 3.516 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/1.187, allocations: 48.09 kB / 1.394 GB, free: 3.469 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.188, allocations: 1.027 MB / 1.395 GB, free: 2.566 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.188, allocations: 227.3 kB / 1.395 GB, free: 2.371 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005192/1.189, allocations: 327.6 kB / 1.395 GB, free: 2.176 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.189, allocations: 306.1 kB / 1.395 GB, free: 1.875 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/1.19, allocations: 0.5436 MB / 1.396 GB, free: 1.605 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/1.192, allocations: 0.9963 MB / 1.397 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/1.194, allocations: 1.454 MB / 1.398 GB, free: 15.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.194, allocations: 4.656 kB / 1.398 GB, free: 15.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004043/1.199, allocations: 1.768 MB / 1.4 GB, free: 14.84 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/1.199, allocations: 36.7 kB / 1.4 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.199, allocations: 15.03 kB / 1.4 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.75e-05/1.199, allocations: 18.22 kB / 1.4 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.2, allocations: 304.2 kB / 1.4 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.612e-05/1.2, allocations: 34.53 kB / 1.4 GB, free: 14.72 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.202, allocations: 197.1 kB / 1.401 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/1.202, allocations: 63.58 kB / 1.401 GB, free: 14.58 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002105/1.204, allocations: 0.9713 MB / 1.402 GB, free: 14.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00155/1.205, allocations: 0.989 MB / 1.403 GB, free: 12.88 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002536/1.208, allocations: 1.458 MB / 1.404 GB, free: 11.25 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/1.208, allocations: 0 / 1.404 GB, free: 11.25 MB / 1.092 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003876/1.212, allocations: 1.778 MB / 1.406 GB, free: 9.461 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/1.212, allocations: 37.7 kB / 1.406 GB, free: 9.418 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.212, allocations: 8 kB / 1.406 GB, free: 9.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.212, allocations: 20.69 kB / 1.406 GB, free: 9.391 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.213, allocations: 307.5 kB / 1.406 GB, free: 9.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/1.213, allocations: 31.86 kB / 1.406 GB, free: 9.059 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.215, allocations: 159.3 kB / 1.406 GB, free: 8.902 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.215, allocations: 63.98 kB / 1.406 GB, free: 8.84 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004253/1.215, allocations: 260 kB / 1.407 GB, free: 8.578 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/1.216, allocations: 218.5 kB / 1.407 GB, free: 8.363 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/1.219, allocations: 1.115 MB / 1.408 GB, free: 7.227 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/1.219, allocations: 8 kB / 1.408 GB, free: 7.219 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.219, allocations: 0 / 1.408 GB, free: 7.219 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/1.221, allocations: 0.9582 MB / 1.409 GB, free: 6.207 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/1.226, allocations: 2.621 MB / 1.411 GB, free: 3.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.226, allocations: 7.875 kB / 1.411 GB, free: 3.512 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/1.227, allocations: 147.8 kB / 1.412 GB, free: 3.367 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/1.227, allocations: 28.84 kB / 1.412 GB, free: 3.336 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/1.227, allocations: 19.98 kB / 1.412 GB, free: 3.316 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/1.229, allocations: 1.422 MB / 1.413 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.229, allocations: 0 / 1.413 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/1.233, allocations: 1.583 MB / 1.414 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.234, allocations: 407.5 kB / 1.415 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/1.234, allocations: 16 kB / 1.415 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009191/1.235, allocations: 71.67 kB / 1.415 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.235, allocations: 52.48 kB / 1.415 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/1.235, allocations: 27.98 kB / 1.415 GB, free: 15.56 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002392/1.237, allocations: 1.477 MB / 1.416 GB, free: 14.07 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.237, allocations: 0 / 1.416 GB, free: 14.07 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003248/1.241, allocations: 1.037 MB / 1.417 GB, free: 13.03 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006115/1.247, allocations: 2.912 MB / 1.42 GB, free: 10.24 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004352/1.251, allocations: 1.955 MB / 1.422 GB, free: 8.258 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.251, allocations: 1.812 kB / 1.422 GB, free: 8.258 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.252, allocations: 0.5289 MB / 1.423 GB, free: 7.711 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/1.257, allocations: 0.9595 MB / 1.424 GB, free: 6.777 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/1.283, allocations: 14.75 MB / 1.438 GB, free: 7.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.284, allocations: 1.538 MB / 1.44 GB, free: 5.93 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002003/1.286, allocations: 0.5241 MB / 1.44 GB, free: 5.402 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.287, allocations: 0.8585 MB / 1.441 GB, free: 4.543 MB / 1.123 GB Notification: Performance of SimCode: time 1.122e-06/1.287, allocations: 0 / 1.441 GB, free: 4.543 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.397, allocations: 56.42 MB / 1.496 GB, free: 12.71 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/15.09, allocations: 11.94 kB / 1.496 GB, free: 12.7 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.15018976799911] Failed to read output from testmodel.py, exit status != 0: 15.265974996989826 15.290862346 14.151594125 Calling exit ...