Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.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.001418/0.001418, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001455/0.001455, allocations: 210.8 kB / 23 MB, free: 4.934 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.324/3.324, allocations: 0.49 GB / 0.7959 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: translateModel(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|TVol.T|TSwi.y",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") translateModel(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|TVol.T|TSwi.y",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") [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.002099/0.002099, allocations: 74.25 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.398, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.2636/0.6615, allocations: 204.6 MB / 1.527 GB, free: 3.648 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.04772/0.7092, allocations: 27.31 MB / 1.554 GB, free: 8.285 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005682/0.7149, allocations: 154.8 kB / 1.554 GB, free: 8.133 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.009074/0.724, allocations: 2.437 MB / 1.556 GB, free: 5.684 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01703/0.741, allocations: 5.142 MB / 1.561 GB, free: 0.5273 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.7513, allocations: 3.774 MB / 1.565 GB, free: 12.78 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.02037/0.7717, allocations: 13.71 MB / 1.578 GB, free: 15.03 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007218/0.7789, allocations: 3.718 MB / 1.582 GB, free: 11.23 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.7902, allocations: 4.664 MB / 1.586 GB, free: 6.559 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007121/0.7973, allocations: 3.376 MB / 1.59 GB, free: 3.172 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002575/0.7999, allocations: 0.5195 MB / 1.59 GB, free: 2.652 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.8111, allocations: 3.831 MB / 1.594 GB, free: 14.82 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.8141, allocations: 1.549 MB / 1.595 GB, free: 13.26 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005162/0.8193, allocations: 2.31 MB / 1.598 GB, free: 10.94 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01877/0.838, allocations: 9.908 MB / 1.607 GB, free: 1 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.838, allocations: 7.938 kB / 1.607 GB, free: 0.9922 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.763e-06/0.838, allocations: 0 / 1.607 GB, free: 0.9922 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002762/0.8383, allocations: 0 / 1.607 GB, free: 0.9922 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 753 * Number of variables: 753 Notification: Performance of Generate backend data structure: time 0.9316/1.77, allocations: 6.627 MB / 1.614 GB, free: 276.7 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/1.77, allocations: 9.875 kB / 1.614 GB, free: 276.7 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008725/1.779, allocations: 1.304 MB / 1.615 GB, free: 276.3 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/1.795, allocations: 5.162 MB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/1.795, allocations: 239.8 kB / 1.62 GB, free: 273.8 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/1.797, allocations: 313.4 kB / 1.621 GB, free: 273.7 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/1.811, allocations: 4.771 MB / 1.625 GB, free: 271.2 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/1.811, allocations: 11.02 kB / 1.625 GB, free: 271.2 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004579/1.811, allocations: 129.8 kB / 1.625 GB, free: 271.1 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/1.811, allocations: 78.31 kB / 1.626 GB, free: 271.1 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/1.823, allocations: 4.322 MB / 1.63 GB, free: 269.9 MB / 1.295 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.0375/1.86, allocations: 12.83 MB / 1.642 GB, free: 262.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007116/1.867, allocations: 2.861 MB / 1.645 GB, free: 261.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/1.871, allocations: 1.535 MB / 1.647 GB, free: 260.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01579/1.887, allocations: 4.803 MB / 1.651 GB, free: 257.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003818/1.89, allocations: 2.336 MB / 1.654 GB, free: 254.8 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002842/1.893, allocations: 296.6 kB / 1.654 GB, free: 254.5 MB / 1.295 GB Notification: Performance of pre-optimization done (n=225): time 1.475e-05/1.893, allocations: 0 / 1.654 GB, free: 254.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=225): time 0.02501/1.918, allocations: 8.224 MB / 1.662 GB, free: 246.4 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/1.918, allocations: 227.6 kB / 1.662 GB, free: 246.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008344/1.927, allocations: 4.395 MB / 1.666 GB, free: 241.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000885/1.928, allocations: 77.7 kB / 1.666 GB, free: 241.6 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002159/1.93, allocations: 2.021 MB / 1.668 GB, free: 239.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.931, allocations: 0.7968 MB / 1.669 GB, free: 238.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002384/1.933, allocations: 0.7217 MB / 1.67 GB, free: 238.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/1.933, allocations: 313 kB / 1.67 GB, free: 237.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003313/1.937, allocations: 1.811 MB / 1.672 GB, free: 235.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/1.941, allocations: 3.392 MB / 1.675 GB, free: 232.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006763/1.948, allocations: 4.024 MB / 1.679 GB, free: 227.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/1.948, allocations: 7.938 kB / 1.679 GB, free: 227.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01195/1.96, allocations: 5.415 MB / 1.685 GB, free: 222.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/1.96, allocations: 12 kB / 1.685 GB, free: 222.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/1.96, allocations: 12 kB / 1.685 GB, free: 222.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118/4.078, allocations: 339.3 MB / 2.016 GB, free: 10.64 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/4.081, allocations: 0.6474 MB / 2.016 GB, free: 9.988 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007372/4.089, allocations: 5.439 MB / 2.022 GB, free: 4.316 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/4.094, allocations: 315.6 kB / 2.022 GB, free: 4.008 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/4.095, allocations: 153.1 kB / 2.022 GB, free: 3.859 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007817/4.103, allocations: 2.948 MB / 2.025 GB, free: 0.9062 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005909/4.109, allocations: 3.346 MB / 2.028 GB, free: 13.14 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008694/4.118, allocations: 3.938 MB / 2.032 GB, free: 8.992 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.42e-05/4.118, allocations: 8 kB / 2.032 GB, free: 8.984 MB / 1.436 GB Notification: Performance of matching and sorting (n=419) (initialization_lambda0): time 0.0144/4.132, allocations: 5.308 MB / 2.037 GB, free: 3.613 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/4.132, allocations: 12 kB / 2.037 GB, free: 3.602 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/4.132, allocations: 15.98 kB / 2.037 GB, free: 3.586 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25/7.382, allocations: 339.2 MB / 2.369 GB, free: 455 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/7.385, allocations: 0.6369 MB / 2.369 GB, free: 454.4 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/7.391, allocations: 6.508 MB / 2.376 GB, free: 448.3 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/7.396, allocations: 326.1 kB / 2.376 GB, free: 448 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/7.397, allocations: 142.5 kB / 2.376 GB, free: 447.9 MB / 1.607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 358 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,6), (1,6), (1,1), (1,1), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009728/7.398, allocations: 374.7 kB / 2.377 GB, free: 447.6 MB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/7.399, allocations: 432.3 kB / 2.377 GB, free: 447.4 MB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009336/7.409, allocations: 4.67 MB / 2.381 GB, free: 443.4 MB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006637/7.415, allocations: 3.741 MB / 2.385 GB, free: 439.6 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/7.415, allocations: 4 kB / 2.385 GB, free: 439.6 MB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003056/7.418, allocations: 0.8451 MB / 2.386 GB, free: 439 MB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/7.419, allocations: 44 kB / 2.386 GB, free: 439 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/7.422, allocations: 251.7 kB / 2.386 GB, free: 438.7 MB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/7.422, allocations: 177.7 kB / 2.386 GB, free: 438.5 MB / 1.607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01092/7.433, allocations: 5.028 MB / 2.391 GB, free: 433.5 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009375/7.443, allocations: 5.971 MB / 2.397 GB, free: 427.5 MB / 1.607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002429/7.445, allocations: 1.595 MB / 2.399 GB, free: 425.9 MB / 1.607 GB Notification: Performance of sorting global known variables: time 0.004229/7.449, allocations: 3 MB / 2.402 GB, free: 422.9 MB / 1.607 GB Notification: Performance of Backend: time 3.71e-07/7.449, allocations: 4 kB / 2.402 GB, free: 422.9 MB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.01653/7.466, allocations: 6.926 MB / 2.408 GB, free: 416.6 MB / 1.607 GB Notification: Performance of SimCode: time 0.02268/7.489, allocations: 10.34 MB / 2.419 GB, free: 406.2 MB / 1.607 GB Notification: Performance of Templates: time 0.1502/7.639, allocations: 124.1 MB / 2.54 GB, free: 283.6 MB / 1.607 GB " [Timeout remaining time 292] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 20.10482391500409] Failed to read output from testmodel.py, exit status != 0: 7.648563795999507 7.658040157 6.817334141 Calling exit ...