Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.00196/0.00196, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001975/0.001975, allocations: 206.5 kB / 23 MB, free: 4.977 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.39/3.39, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") [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.002116/0.002116, allocations: 72.03 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5168, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.1242/0.6409, allocations: 83.35 MB / 1.409 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.2508/0.8917, allocations: 147.9 MB / 1.553 GB, free: 8.898 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006448/0.8982, allocations: 134.9 kB / 1.553 GB, free: 8.766 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.009125/0.9073, allocations: 2.133 MB / 1.555 GB, free: 6.625 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01493/0.9222, allocations: 3.591 MB / 1.559 GB, free: 3.023 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.9339, allocations: 3.215 MB / 1.562 GB, free: 15.82 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01944/0.9534, allocations: 9.664 MB / 1.571 GB, free: 6.141 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006673/0.9601, allocations: 2.302 MB / 1.574 GB, free: 3.766 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.9704, allocations: 3.164 MB / 1.577 GB, free: 0.6016 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00554/0.9759, allocations: 2.101 MB / 1.579 GB, free: 14.49 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.9775, allocations: 296 kB / 1.579 GB, free: 14.2 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008001/0.9855, allocations: 2.165 MB / 1.581 GB, free: 12.04 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.9878, allocations: 0.977 MB / 1.582 GB, free: 11.05 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003666/0.9915, allocations: 1.438 MB / 1.583 GB, free: 9.609 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/1.005, allocations: 5.698 MB / 1.589 GB, free: 3.891 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/1.005, allocations: 0 / 1.589 GB, free: 3.891 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.535e-06/1.005, allocations: 4 kB / 1.589 GB, free: 3.887 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001365/1.005, allocations: 0 / 1.589 GB, free: 3.887 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 511 * Number of variables: 511 Notification: Performance of Generate backend data structure: time 0.01111/1.016, allocations: 4.035 MB / 1.593 GB, free: 15.77 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/1.017, allocations: 11.98 kB / 1.593 GB, free: 15.76 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/1.021, allocations: 0.6652 MB / 1.594 GB, free: 15.09 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008392/1.029, allocations: 3.272 MB / 1.597 GB, free: 11.74 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/1.029, allocations: 156 kB / 1.597 GB, free: 11.59 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004861/1.03, allocations: 207.9 kB / 1.597 GB, free: 11.38 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/1.035, allocations: 2.74 MB / 1.6 GB, free: 8.379 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-05/1.036, allocations: 7.891 kB / 1.6 GB, free: 8.371 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/1.036, allocations: 88 kB / 1.6 GB, free: 8.285 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.116e-05/1.036, allocations: 48 kB / 1.6 GB, free: 8.238 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/1.04, allocations: 2.06 MB / 1.602 GB, free: 6.176 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 1.183/2.224, allocations: 7.166 MB / 1.609 GB, free: 277.2 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/2.228, allocations: 1.333 MB / 1.61 GB, free: 277.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/2.229, allocations: 0.6102 MB / 1.611 GB, free: 277.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006339/2.236, allocations: 2.012 MB / 1.613 GB, free: 276.4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002179/2.238, allocations: 1.19 MB / 1.614 GB, free: 275.6 MB / 1.295 GB Notification: Performance of pre-optimization done (n=138): time 5.471e-06/2.238, allocations: 3.406 kB / 1.614 GB, free: 275.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=138): time 0.006573/2.244, allocations: 2.062 MB / 1.616 GB, free: 275 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/2.244, allocations: 196.6 kB / 1.616 GB, free: 274.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004607/2.249, allocations: 2.433 MB / 1.619 GB, free: 273.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002827/2.249, allocations: 58.14 kB / 1.619 GB, free: 273.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/2.251, allocations: 1.319 MB / 1.62 GB, free: 273 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/2.251, allocations: 496.8 kB / 1.62 GB, free: 272.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008587/2.252, allocations: 456.6 kB / 1.621 GB, free: 272.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/2.252, allocations: 306.8 kB / 1.621 GB, free: 272.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/2.254, allocations: 0.7527 MB / 1.622 GB, free: 271.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/2.257, allocations: 1.516 MB / 1.623 GB, free: 270.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/2.261, allocations: 1.881 MB / 1.625 GB, free: 269.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/2.261, allocations: 3.156 kB / 1.625 GB, free: 269.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.00611/2.267, allocations: 2.399 MB / 1.627 GB, free: 268.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/2.267, allocations: 10.17 kB / 1.628 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/2.267, allocations: 18.56 kB / 1.628 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007347/2.268, allocations: 102.9 kB / 1.628 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/2.27, allocations: 435.6 kB / 1.628 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/2.272, allocations: 1.521 MB / 1.63 GB, free: 267.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/2.275, allocations: 247.5 kB / 1.63 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/2.275, allocations: 94.69 kB / 1.63 GB, free: 267.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003379/2.278, allocations: 1.296 MB / 1.631 GB, free: 266.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002035/2.28, allocations: 1.512 MB / 1.633 GB, free: 265.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003242/2.284, allocations: 1.852 MB / 1.634 GB, free: 264.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.348e-05/2.284, allocations: 8.25 kB / 1.634 GB, free: 264.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=278) (initialization_lambda0): time 0.006351/2.29, allocations: 2.377 MB / 1.637 GB, free: 263.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/2.29, allocations: 10.11 kB / 1.637 GB, free: 263.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/2.29, allocations: 11.25 kB / 1.637 GB, free: 263.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/2.291, allocations: 100.4 kB / 1.637 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/2.292, allocations: 429.1 kB / 1.637 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/2.295, allocations: 1.533 MB / 1.639 GB, free: 262.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/2.297, allocations: 220.4 kB / 1.639 GB, free: 262.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/2.298, allocations: 96.64 kB / 1.639 GB, free: 262 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 19 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 240 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007837/2.298, allocations: 301.6 kB / 1.639 GB, free: 261.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007237/2.299, allocations: 276.2 kB / 1.64 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005419/2.305, allocations: 2.008 MB / 1.642 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00359/2.308, allocations: 1.675 MB / 1.643 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/2.308, allocations: 4.531 kB / 1.643 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/2.31, allocations: 492.1 kB / 1.644 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/2.311, allocations: 29.52 kB / 1.644 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/2.312, allocations: 116.7 kB / 1.644 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/2.312, allocations: 119 kB / 1.644 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004251/2.317, allocations: 1.76 MB / 1.646 GB, free: 259.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004802/2.322, allocations: 2.651 MB / 1.648 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001253/2.323, allocations: 0.6369 MB / 1.649 GB, free: 257.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002901/2.326, allocations: 1.602 MB / 1.65 GB, free: 257.1 MB / 1.295 GB Notification: Performance of Backend: time 6.91e-07/2.326, allocations: 0 / 1.65 GB, free: 257.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01141/2.337, allocations: 3.798 MB / 1.654 GB, free: 255.2 MB / 1.295 GB Notification: Performance of SimCode: time 0.01153/2.349, allocations: 6.238 MB / 1.66 GB, free: 249.3 MB / 1.295 GB Notification: Performance of Templates: time 0.101/2.45, allocations: 72.64 MB / 1.731 GB, free: 177.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 14.399561538004491] Failed to read output from testmodel.py, exit status != 0: 2.460188871002174 2.471222353 1.462969748 Calling exit ...