Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.001472/0.001472, allocations: 108.2 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.001619/0.001619, allocations: 212.2 kB / 23 MB, free: 4.969 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.541/3.541, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") [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.002203/0.002203, allocations: 69.83 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5225/0.5247, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.3137/0.8384, allocations: 214.1 MB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0513/0.8897, allocations: 25.29 MB / 1.561 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007061/0.8968, allocations: 138.9 kB / 1.561 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.008699/0.9055, allocations: 2.272 MB / 1.563 GB, free: 14.35 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.9229, allocations: 4.628 MB / 1.568 GB, free: 9.707 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.9348, allocations: 3.446 MB / 1.571 GB, free: 6.285 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.02169/0.9565, allocations: 10.35 MB / 1.581 GB, free: 11.91 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006549/0.9631, allocations: 2.565 MB / 1.584 GB, free: 9.266 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009537/0.9726, allocations: 3.385 MB / 1.587 GB, free: 5.879 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005955/0.9786, allocations: 2.342 MB / 1.589 GB, free: 3.527 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.9798, allocations: 352 kB / 1.59 GB, free: 3.184 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.9902, allocations: 3.358 MB / 1.593 GB, free: 15.82 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.9922, allocations: 1.125 MB / 1.594 GB, free: 14.69 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003583/0.9958, allocations: 1.64 MB / 1.596 GB, free: 13.04 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01666/1.012, allocations: 6.983 MB / 1.602 GB, free: 6.035 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.012, allocations: 0 / 1.602 GB, free: 6.035 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.074e-06/1.012, allocations: 0 / 1.602 GB, free: 6.035 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000171/1.013, allocations: 4 kB / 1.602 GB, free: 6.031 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01307/1.026, allocations: 4.922 MB / 1.607 GB, free: 1.023 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/1.026, allocations: 8.031 kB / 1.607 GB, free: 1.016 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/1.031, allocations: 0.8053 MB / 1.608 GB, free: 212 kB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.17/2.2, allocations: 3.563 MB / 1.612 GB, free: 278.3 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/2.201, allocations: 180.3 kB / 1.612 GB, free: 278.2 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007236/2.201, allocations: 238.9 kB / 1.612 GB, free: 278.2 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007369/2.209, allocations: 3.121 MB / 1.615 GB, free: 276.3 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.34e-05/2.209, allocations: 5.25 kB / 1.615 GB, free: 276.3 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/2.209, allocations: 100.1 kB / 1.615 GB, free: 276.2 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/2.209, allocations: 59.05 kB / 1.615 GB, free: 276.2 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00637/2.215, allocations: 2.431 MB / 1.618 GB, free: 275.5 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.02114/2.237, allocations: 8.192 MB / 1.626 GB, free: 270.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/2.242, allocations: 1.815 MB / 1.627 GB, free: 270.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/2.244, allocations: 0.8034 MB / 1.628 GB, free: 269.9 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00917/2.253, allocations: 2.675 MB / 1.631 GB, free: 268.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/2.256, allocations: 1.412 MB / 1.632 GB, free: 267.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=168): time 4.708e-06/2.256, allocations: 3.828 kB / 1.632 GB, free: 267.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=168): time 0.01113/2.267, allocations: 2.992 MB / 1.635 GB, free: 266.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/2.267, allocations: 231.5 kB / 1.635 GB, free: 266.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005999/2.273, allocations: 2.864 MB / 1.638 GB, free: 265.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003458/2.274, allocations: 62.52 kB / 1.638 GB, free: 265.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/2.275, allocations: 1.517 MB / 1.64 GB, free: 264.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/2.276, allocations: 0.5944 MB / 1.64 GB, free: 264 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009547/2.277, allocations: 0.5287 MB / 1.641 GB, free: 263.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/2.277, allocations: 302 kB / 1.641 GB, free: 263.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/2.279, allocations: 0.9468 MB / 1.642 GB, free: 263.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/2.282, allocations: 1.988 MB / 1.644 GB, free: 261.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/2.286, allocations: 2.284 MB / 1.646 GB, free: 260.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/2.286, allocations: 8.375 kB / 1.646 GB, free: 260.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.007134/2.293, allocations: 3.014 MB / 1.649 GB, free: 259.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/2.293, allocations: 9.375 kB / 1.649 GB, free: 259.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/2.293, allocations: 11.75 kB / 1.649 GB, free: 259.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087/3.38, allocations: 146.3 MB / 1.792 GB, free: 114.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/3.382, allocations: 0.4914 MB / 1.792 GB, free: 113.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/3.386, allocations: 2.775 MB / 1.795 GB, free: 110.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/3.389, allocations: 308.2 kB / 1.795 GB, free: 110.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003693/3.39, allocations: 112.6 kB / 1.796 GB, free: 110.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003623/3.393, allocations: 1.539 MB / 1.797 GB, free: 108.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00208/3.396, allocations: 1.965 MB / 1.799 GB, free: 106.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003119/3.399, allocations: 2.261 MB / 1.801 GB, free: 104.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.046e-05/3.399, allocations: 4 kB / 1.801 GB, free: 104.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.006158/3.405, allocations: 2.966 MB / 1.804 GB, free: 101.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/3.405, allocations: 14.48 kB / 1.804 GB, free: 101.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/3.405, allocations: 19.88 kB / 1.804 GB, free: 101 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114/4.518, allocations: 146.3 MB / 1.947 GB, free: 2.504 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/4.521, allocations: 491.2 kB / 1.947 GB, free: 2.027 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/4.525, allocations: 2.789 MB / 1.95 GB, free: 15.09 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/4.529, allocations: 268.9 kB / 1.95 GB, free: 14.86 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/4.529, allocations: 108 kB / 1.951 GB, free: 14.75 MB / 1.357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 20 (conFan.con1.y,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,onOffCon.y,$PRE.onOffCon.y,$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 (284): * Single equations (assignments): 279 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009415/4.53, allocations: 333.5 kB / 1.951 GB, free: 14.43 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/4.532, allocations: 317.9 kB / 1.951 GB, free: 14.12 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007008/4.539, allocations: 2.516 MB / 1.954 GB, free: 11.6 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004726/4.543, allocations: 2.089 MB / 1.956 GB, free: 9.441 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/4.543, allocations: 0 / 1.956 GB, free: 9.441 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/4.546, allocations: 0.5675 MB / 1.956 GB, free: 8.871 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006412/4.546, allocations: 39.98 kB / 1.956 GB, free: 8.832 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/4.548, allocations: 135.9 kB / 1.956 GB, free: 8.699 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/4.548, allocations: 141.7 kB / 1.956 GB, free: 8.559 MB / 1.357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006795/4.555, allocations: 2.343 MB / 1.959 GB, free: 6.238 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007118/4.562, allocations: 3.299 MB / 1.962 GB, free: 2.922 MB / 1.357 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001775/4.564, allocations: 0.8158 MB / 1.963 GB, free: 2.109 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.003935/4.568, allocations: 1.893 MB / 1.965 GB, free: 228 kB / 1.357 GB Notification: Performance of Backend: time 2.21e-07/4.568, allocations: 0 / 1.965 GB, free: 228 kB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.01551/4.584, allocations: 4.638 MB / 1.969 GB, free: 11.96 MB / 1.373 GB Notification: Performance of SimCode: time 0.01702/4.601, allocations: 7.121 MB / 1.976 GB, free: 4.832 MB / 1.373 GB Notification: Performance of Templates: time 0.1559/4.756, allocations: 85.53 MB / 2.06 GB, free: 436 kB / 1.451 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 17.30193473500549] Failed to read output from testmodel.py, exit status != 0: 4.767680143995676 4.783026839 3.766937388 Calling exit ...