Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.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.00135/0.00135, 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.00146/0.00146, allocations: 209.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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.276/3.276, allocations: 0.49 GB / 0.7959 GB, free: 35.68 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.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theMixVal.TMixSet|theMixVal.senTMix.T|domHotWatTan.senTemHot.T|domHotWatTan.TTanTop.T|domHotWatTan.TTanBot.T|domHotWatTan.conCha.TTanTopSet|hea.Q_flow|domHotWatTan.PEle|domHotWatTan.divVal.y_actual|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger") translateModel(Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theMixVal.TMixSet|theMixVal.senTMix.T|domHotWatTan.senTemHot.T|domHotWatTan.TTanTop.T|domHotWatTan.TTanBot.T|domHotWatTan.conCha.TTanTopSet|hea.Q_flow|domHotWatTan.PEle|domHotWatTan.divVal.y_actual|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger") [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.002043/0.002043, allocations: 64.69 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4056, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger): time 0.267/0.6727, allocations: 220.7 MB / 1.543 GB, free: 3.629 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0912/0.7639, allocations: 50.7 MB / 1.592 GB, free: 0.8008 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01374/0.7776, allocations: 392.8 kB / 1.592 GB, free: 424 kB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01478/0.7924, allocations: 4.21 MB / 1.597 GB, free: 12.18 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02845/0.8208, allocations: 8.67 MB / 1.605 GB, free: 3.48 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.9097/1.731, allocations: 6.923 MB / 1.612 GB, free: 40.16 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04835/1.779, allocations: 30.59 MB / 1.642 GB, free: 40.11 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01536/1.794, allocations: 7.136 MB / 1.649 GB, free: 39.6 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02559/1.82, allocations: 9.822 MB / 1.658 GB, free: 39.39 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/1.834, allocations: 6.588 MB / 1.665 GB, free: 38.28 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004163/1.838, allocations: 1.028 MB / 1.666 GB, free: 38.28 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/1.852, allocations: 3.957 MB / 1.67 GB, free: 38.28 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005422/1.858, allocations: 2.741 MB / 1.672 GB, free: 37.86 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01154/1.869, allocations: 4.172 MB / 1.676 GB, free: 36.82 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02952/1.899, allocations: 16.63 MB / 1.693 GB, free: 34.86 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.899, allocations: 0 / 1.693 GB, free: 34.86 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.964e-06/1.899, allocations: 3.656 kB / 1.693 GB, free: 34.86 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000528/1.899, allocations: 0 / 1.693 GB, free: 34.86 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: 1350 * Number of variables: 1350 Notification: Performance of Generate backend data structure: time 0.03123/1.931, allocations: 11.15 MB / 1.703 GB, free: 30.53 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.931, allocations: 6.781 kB / 1.703 GB, free: 30.53 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/1.943, allocations: 2.007 MB / 1.705 GB, free: 29.93 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.965, allocations: 9.545 MB / 1.715 GB, free: 28.44 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004724/1.966, allocations: 426.4 kB / 1.715 GB, free: 28.43 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002333/1.968, allocations: 0.5408 MB / 1.716 GB, free: 28.42 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/1.986, allocations: 8.118 MB / 1.724 GB, free: 26.79 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/1.987, allocations: 14.02 kB / 1.724 GB, free: 26.78 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008147/1.987, allocations: 224.2 kB / 1.724 GB, free: 26.78 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/1.987, allocations: 141.2 kB / 1.724 GB, free: 26.78 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/2.004, allocations: 6.237 MB / 1.73 GB, free: 24.96 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.05264/2.057, allocations: 24.8 MB / 1.754 GB, free: 6.922 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/2.067, allocations: 3.732 MB / 1.758 GB, free: 4.598 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/2.072, allocations: 2.328 MB / 1.76 GB, free: 2.277 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02135/2.093, allocations: 7.9 MB / 1.768 GB, free: 10.47 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005828/2.099, allocations: 3.003 MB / 1.771 GB, free: 7.262 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004478/2.103, allocations: 408.1 kB / 1.771 GB, free: 6.867 MB / 1.311 GB Notification: Performance of pre-optimization done (n=263): time 1.814e-05/2.103, allocations: 0 / 1.771 GB, free: 6.867 MB / 1.311 GB Notification: Performance of matching and sorting (n=263): time 0.02298/2.126, allocations: 6.791 MB / 1.778 GB, free: 32 kB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/2.127, allocations: 214 kB / 1.778 GB, free: 15.78 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01443/2.141, allocations: 6.914 MB / 1.785 GB, free: 8.902 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/2.142, allocations: 101.7 kB / 1.785 GB, free: 8.797 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.004765/2.147, allocations: 3.819 MB / 1.789 GB, free: 4.984 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001844/2.149, allocations: 0.9702 MB / 1.79 GB, free: 4.027 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002077/2.151, allocations: 1.012 MB / 1.791 GB, free: 3.004 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001416/2.151, allocations: 305.1 kB / 1.791 GB, free: 2.703 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005339/2.156, allocations: 2.537 MB / 1.793 GB, free: 156 kB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007271/2.164, allocations: 4.87 MB / 1.798 GB, free: 10.44 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/2.176, allocations: 6.282 MB / 1.804 GB, free: 3.762 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.037e-05/2.176, allocations: 12 kB / 1.804 GB, free: 3.75 MB / 1.342 GB Notification: Performance of matching and sorting (n=615) (initialization): time 0.01928/2.195, allocations: 7.502 MB / 1.812 GB, free: 12.47 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/2.195, allocations: 20 kB / 1.812 GB, free: 12.45 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-05/2.195, allocations: 40 kB / 1.812 GB, free: 12.41 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/2.198, allocations: 0.55 MB / 1.812 GB, free: 11.86 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005334/2.203, allocations: 1.045 MB / 1.813 GB, free: 10.87 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/2.209, allocations: 4.636 MB / 1.818 GB, free: 6.098 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008236/2.217, allocations: 386.7 kB / 1.818 GB, free: 5.723 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/2.218, allocations: 243.8 kB / 1.818 GB, free: 5.484 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01101/2.229, allocations: 4.266 MB / 1.822 GB, free: 1.211 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007317/2.236, allocations: 4.716 MB / 1.827 GB, free: 11.66 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01216/2.249, allocations: 5.966 MB / 1.833 GB, free: 5.285 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.524e-05/2.249, allocations: 12 kB / 1.833 GB, free: 5.273 MB / 1.373 GB Notification: Performance of matching and sorting (n=615) (initialization_lambda0): time 0.01849/2.267, allocations: 7.139 MB / 1.84 GB, free: 14.34 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/2.267, allocations: 23.94 kB / 1.84 GB, free: 14.32 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-05/2.267, allocations: 43.28 kB / 1.84 GB, free: 14.28 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/2.269, allocations: 0.5062 MB / 1.84 GB, free: 13.77 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/2.274, allocations: 1.027 MB / 1.841 GB, free: 12.8 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/2.281, allocations: 5.049 MB / 1.846 GB, free: 7.578 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00767/2.289, allocations: 403.2 kB / 1.847 GB, free: 7.188 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/2.29, allocations: 227.9 kB / 1.847 GB, free: 6.965 MB / 1.389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.sch.nextTimeEvent,$whenCondition3,theMixVal.conPID.con1.y,domHotWatTan.conVal.cha.y,$PRE.domHotWatTan.conVal.cha.y,domHotWatTan.conCha.cha1.y,$PRE.domHotWatTan.conCha.cha1.y,domHotWatTan.conCha.cha.y,$PRE.domHotWatTan.conCha.cha.y,domHotWatTan.conCha.lat.y,domHotWatTan.conPum.hysMasFlo.y,$PRE.domHotWatTan.conPum.hysMasFlo.y,sch.nextTimeEventScaled,$PRE.sch.nextTimeEventScaled,sch.nextTimeEvent,$whenCondition1,$whenCondition2,$whenCondition5,domHotWatTan.conVal.ram.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (517): * Single equations (assignments): 509 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001517/2.291, allocations: 470.3 kB / 1.847 GB, free: 6.566 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002594/2.294, allocations: 0.6791 MB / 1.848 GB, free: 5.883 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/2.308, allocations: 5.367 MB / 1.853 GB, free: 0.5508 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00987/2.318, allocations: 4.161 MB / 1.857 GB, free: 12.32 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/2.318, allocations: 4 kB / 1.857 GB, free: 12.31 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004995/2.323, allocations: 1.267 MB / 1.859 GB, free: 11.04 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/2.325, allocations: 63.94 kB / 1.859 GB, free: 10.98 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004491/2.329, allocations: 295.6 kB / 1.859 GB, free: 10.69 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005288/2.33, allocations: 237.9 kB / 1.859 GB, free: 10.46 MB / 1.404 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0141/2.344, allocations: 5.093 MB / 1.864 GB, free: 5.375 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01815/2.362, allocations: 7.383 MB / 1.871 GB, free: 13.93 MB / 1.42 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004807/2.367, allocations: 1.934 MB / 1.873 GB, free: 11.99 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.01109/2.378, allocations: 4.593 MB / 1.878 GB, free: 7.434 MB / 1.42 GB Notification: Performance of Backend: time 8.31e-07/2.378, allocations: 0 / 1.878 GB, free: 7.434 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.02755/2.405, allocations: 8.929 MB / 1.886 GB, free: 15.22 MB / 1.436 GB Notification: Performance of SimCode: time 0.04467/2.45, allocations: 16.62 MB / 1.903 GB, free: 14.68 MB / 1.451 GB Notification: Performance of Templates: time 0.3107/2.761, allocations: 174.8 MB / 2.073 GB, free: 2.324 MB / 1.607 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.sim & ./Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.HotWater.Examples.StorageTankWithExternalHeatExchanger.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 16.16349389199604] Failed to read output from testmodel.py, exit status != 0: 2.7717547139982344 2.802279113 0.897396673 Calling exit ...