Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.002252/0.002252, allocations: 97.11 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.002737/0.002737, allocations: 204.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.649/1.649, 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.518/3.518, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.FixedApproachDryBulb,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.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,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.FixedApproachDryBulb") [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.002196/0.002196, allocations: 75.06 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5152, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.1072/0.6225, allocations: 83.35 MB / 1.409 GB, free: 13.3 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.2355/0.8579, allocations: 147.9 MB / 1.553 GB, free: 8.828 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006246/0.8642, allocations: 134.9 kB / 1.553 GB, free: 8.695 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.008558/0.8727, allocations: 2.123 MB / 1.555 GB, free: 6.562 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.8866, allocations: 3.603 MB / 1.559 GB, free: 2.949 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.8972, allocations: 3.209 MB / 1.562 GB, free: 15.76 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01743/0.9146, allocations: 9.659 MB / 1.571 GB, free: 6.078 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005195/0.9198, allocations: 2.31 MB / 1.574 GB, free: 3.695 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009149/0.9289, allocations: 3.155 MB / 1.577 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005454/0.9344, allocations: 2.097 MB / 1.579 GB, free: 14.43 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.9357, allocations: 300 kB / 1.579 GB, free: 14.14 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007486/0.9432, allocations: 2.165 MB / 1.581 GB, free: 11.97 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.9453, allocations: 0.9809 MB / 1.582 GB, free: 10.99 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003659/0.9489, allocations: 1.435 MB / 1.583 GB, free: 9.547 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.9638, allocations: 5.69 MB / 1.589 GB, free: 3.836 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.9638, allocations: 0 / 1.589 GB, free: 3.836 MB / 1.279 GB Notification: Performance of FrontEnd: time 4.628e-06/0.9638, allocations: 0 / 1.589 GB, free: 3.836 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000179/0.964, allocations: 4 kB / 1.589 GB, free: 3.832 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.01138/0.9754, allocations: 4.035 MB / 1.593 GB, free: 15.71 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.9754, allocations: 11.98 kB / 1.593 GB, free: 15.7 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.9794, allocations: 0.6691 MB / 1.594 GB, free: 15.03 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00831/0.9878, allocations: 3.279 MB / 1.597 GB, free: 11.68 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.988, allocations: 152 kB / 1.597 GB, free: 11.53 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006541/0.9887, allocations: 208 kB / 1.597 GB, free: 11.32 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/0.9944, allocations: 2.748 MB / 1.6 GB, free: 8.312 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.167e-05/0.9945, allocations: 3.953 kB / 1.6 GB, free: 8.309 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.9948, allocations: 84 kB / 1.6 GB, free: 8.227 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.042e-05/0.9948, allocations: 59.92 kB / 1.6 GB, free: 8.168 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/0.9995, allocations: 2.056 MB / 1.602 GB, free: 6.109 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.185/2.184, allocations: 7.161 MB / 1.609 GB, free: 275.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/2.188, allocations: 1.34 MB / 1.61 GB, free: 275.7 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/2.19, allocations: 0.6073 MB / 1.611 GB, free: 275.7 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006224/2.196, allocations: 2.008 MB / 1.613 GB, free: 274.9 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/2.198, allocations: 1.193 MB / 1.614 GB, free: 274.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=138): time 4.749e-06/2.198, allocations: 0 / 1.614 GB, free: 274.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=138): time 0.006884/2.205, allocations: 2.064 MB / 1.616 GB, free: 273.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/2.205, allocations: 200.8 kB / 1.616 GB, free: 273.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/2.21, allocations: 2.43 MB / 1.619 GB, free: 272.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002303/2.21, allocations: 58.11 kB / 1.619 GB, free: 272.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/2.212, allocations: 1.319 MB / 1.62 GB, free: 271.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006014/2.213, allocations: 493.6 kB / 1.62 GB, free: 271.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000887/2.213, allocations: 461.6 kB / 1.621 GB, free: 271 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/2.214, allocations: 302.3 kB / 1.621 GB, free: 270.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/2.216, allocations: 0.7523 MB / 1.622 GB, free: 270.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/2.218, allocations: 1.519 MB / 1.623 GB, free: 269.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/2.223, allocations: 1.874 MB / 1.625 GB, free: 268.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/2.223, allocations: 10.56 kB / 1.625 GB, free: 268.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.006531/2.229, allocations: 2.4 MB / 1.628 GB, free: 267.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/2.229, allocations: 13.97 kB / 1.628 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/2.229, allocations: 11.36 kB / 1.628 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/2.23, allocations: 102 kB / 1.628 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/2.232, allocations: 435 kB / 1.628 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/2.234, allocations: 1.522 MB / 1.63 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/2.237, allocations: 245.7 kB / 1.63 GB, free: 265.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/2.237, allocations: 99.94 kB / 1.63 GB, free: 265.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00329/2.241, allocations: 1.289 MB / 1.631 GB, free: 265.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0022/2.243, allocations: 1.514 MB / 1.633 GB, free: 264 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003402/2.246, allocations: 1.86 MB / 1.634 GB, free: 263 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.038e-05/2.246, allocations: 3.531 kB / 1.634 GB, free: 263 MB / 1.295 GB Notification: Performance of matching and sorting (n=278) (initialization_lambda0): time 0.00622/2.253, allocations: 2.375 MB / 1.637 GB, free: 262.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/2.253, allocations: 9.844 kB / 1.637 GB, free: 262.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/2.253, allocations: 16.38 kB / 1.637 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006726/2.253, allocations: 102 kB / 1.637 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/2.255, allocations: 431.5 kB / 1.637 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/2.257, allocations: 1.521 MB / 1.639 GB, free: 260.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/2.26, allocations: 217 kB / 1.639 GB, free: 260.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/2.26, allocations: 93.5 kB / 1.639 GB, free: 260.5 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.0007997/2.261, allocations: 313.7 kB / 1.639 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008087/2.262, allocations: 276.5 kB / 1.64 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005502/2.267, allocations: 2.007 MB / 1.642 GB, free: 259.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00366/2.271, allocations: 1.673 MB / 1.643 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/2.271, allocations: 0.5625 kB / 1.643 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/2.273, allocations: 492 kB / 1.644 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/2.273, allocations: 31.41 kB / 1.644 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/2.275, allocations: 125.7 kB / 1.644 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/2.275, allocations: 115.7 kB / 1.644 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004257/2.28, allocations: 1.755 MB / 1.646 GB, free: 257.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004818/2.284, allocations: 2.661 MB / 1.648 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001105/2.286, allocations: 0.6355 MB / 1.649 GB, free: 256.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002541/2.288, allocations: 1.609 MB / 1.65 GB, free: 255.6 MB / 1.295 GB Notification: Performance of Backend: time 6.31e-07/2.288, allocations: 0 / 1.65 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01115/2.299, allocations: 3.781 MB / 1.654 GB, free: 253.6 MB / 1.295 GB Notification: Performance of SimCode: time 0.01217/2.311, allocations: 6.241 MB / 1.66 GB, free: 247.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1006/2.412, allocations: 72.63 MB / 1.731 GB, free: 176 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 14.298631329998898] Failed to read output from testmodel.py, exit status != 0: 2.423342980997404 2.431949016 1.46529052 Calling exit ...