Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.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.001757/0.001757, 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.002144/0.002144, allocations: 209.1 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.136/3.136, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] 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.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") [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.002079/0.002079, allocations: 65.06 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2928, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01794/0.3107, allocations: 12.81 MB / 1.34 GB, free: 4.105 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1854/0.4961, allocations: 144.3 MB / 1.481 GB, free: 3.234 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.4987, allocations: 91.31 kB / 1.481 GB, free: 3.145 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006434/0.5052, allocations: 2.559 MB / 1.483 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004675/0.5098, allocations: 1.691 MB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.5161, allocations: 2.296 MB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.5261, allocations: 7.566 MB / 1.494 GB, free: 5.004 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.5285, allocations: 1.233 MB / 1.496 GB, free: 3.699 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.5324, allocations: 2.427 MB / 1.498 GB, free: 1.266 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.5362, allocations: 2.374 MB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.5374, allocations: 440 kB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006309/0.5437, allocations: 3.41 MB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.004676/0.5484, allocations: 4.72 MB / 1.509 GB, free: 6.312 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.5511, allocations: 1.94 MB / 1.511 GB, free: 4.363 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.5632, allocations: 8.51 MB / 1.519 GB, free: 11.82 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5632, allocations: 0 / 1.519 GB, free: 11.82 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5632, allocations: 0 / 1.519 GB, free: 11.82 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001167/0.5633, allocations: 0 / 1.519 GB, free: 11.82 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 593 * Number of variables: 593 Notification: Performance of Generate backend data structure: time 0.01322/0.5765, allocations: 5.729 MB / 1.524 GB, free: 6.016 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5765, allocations: 12.03 kB / 1.524 GB, free: 6.004 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01989/0.5964, allocations: 2.854 MB / 1.527 GB, free: 3.145 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03068/0.6271, allocations: 15.11 MB / 1.542 GB, free: 3.93 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.6274, allocations: 224.4 kB / 1.542 GB, free: 3.707 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008584/0.6282, allocations: 304 kB / 1.543 GB, free: 3.41 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008628/0.6369, allocations: 4.28 MB / 1.547 GB, free: 14.87 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.046e-05/0.6369, allocations: 7.938 kB / 1.547 GB, free: 14.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.6372, allocations: 99.94 kB / 1.547 GB, free: 14.76 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.6372, allocations: 52 kB / 1.547 GB, free: 14.71 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007872/0.6451, allocations: 3.562 MB / 1.55 GB, free: 11.12 MB / 1.248 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.03114/0.6763, allocations: 19.73 MB / 1.57 GB, free: 6.848 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007781/0.684, allocations: 2.855 MB / 1.572 GB, free: 3.973 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00464/0.6887, allocations: 1.824 MB / 1.574 GB, free: 2.137 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.6891, allocations: 109.2 kB / 1.574 GB, free: 2.027 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005518/0.6946, allocations: 2.591 MB / 1.577 GB, free: 15.33 MB / 1.279 GB Notification: Performance of pre-optimization done (n=185): time 4.428e-06/0.6946, allocations: 0 / 1.577 GB, free: 15.33 MB / 1.279 GB Notification: Performance of matching and sorting (n=185): time 0.02572/0.7203, allocations: 7.741 MB / 1.584 GB, free: 7.559 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003412/0.7206, allocations: 394.3 kB / 1.585 GB, free: 7.109 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03497/0.7556, allocations: 21.49 MB / 1.606 GB, free: 1.594 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007538/0.7564, allocations: 97.73 kB / 1.606 GB, free: 1.492 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.5918/1.348, allocations: 1.689 MB / 1.607 GB, free: 273.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008382/1.349, allocations: 0.649 MB / 1.608 GB, free: 273.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005109/1.354, allocations: 5.188 MB / 1.613 GB, free: 272.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.468e-05/1.354, allocations: 305.7 kB / 1.613 GB, free: 272.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03717/1.391, allocations: 40.04 MB / 1.653 GB, free: 251.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03377/1.425, allocations: 41.85 MB / 1.693 GB, free: 211.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04287/1.468, allocations: 49.56 MB / 1.742 GB, free: 163 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.782e-05/1.468, allocations: 8 kB / 1.742 GB, free: 163 MB / 1.295 GB Notification: Performance of matching and sorting (n=1918) (initialization): time 0.08736/1.555, allocations: 94.86 MB / 1.834 GB, free: 67.77 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.000189/1.556, allocations: 185.5 kB / 1.835 GB, free: 67.58 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08638/1.642, allocations: 68.15 MB / 1.901 GB, free: 15.16 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05691/1.699, allocations: 5.765 MB / 1.907 GB, free: 9.422 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005026/1.704, allocations: 0.9009 MB / 1.908 GB, free: 8.52 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009251/1.713, allocations: 6.384 MB / 1.914 GB, free: 1.805 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.719, allocations: 0.6424 MB / 1.915 GB, free: 1.258 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000883/1.72, allocations: 203.6 kB / 1.915 GB, free: 1.062 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.05061/1.771, allocations: 42.4 MB / 1.956 GB, free: 6.672 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05012/1.821, allocations: 41.84 MB / 1.997 GB, free: 12.43 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06334/1.884, allocations: 49.55 MB / 2.045 GB, free: 10.36 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.343e-05/1.884, allocations: 4 kB / 2.045 GB, free: 10.36 MB / 1.451 GB Notification: Performance of matching and sorting (n=1918) (initialization_lambda0): time 0.1204/2.004, allocations: 94.32 MB / 2.138 GB, free: 11.63 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002579/2.005, allocations: 178.7 kB / 2.138 GB, free: 11.45 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08516/2.09, allocations: 65.68 MB / 2.202 GB, free: 9.426 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/2.092, allocations: 0.5271 MB / 2.202 GB, free: 8.895 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/2.097, allocations: 0.9633 MB / 2.203 GB, free: 7.93 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6565/2.754, allocations: 8.426 MB / 2.212 GB, free: 0.5692 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005862/2.76, allocations: 0.5609 MB / 2.212 GB, free: 0.5692 GB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/2.76, allocations: 201 kB / 2.212 GB, free: 0.5692 GB / 1.607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$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 (429): * Single equations (assignments): 385 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001168/2.762, allocations: 0.5541 MB / 2.213 GB, free: 0.569 GB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000745/2.762, allocations: 370.9 kB / 2.213 GB, free: 0.569 GB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/2.777, allocations: 5.834 MB / 2.219 GB, free: 0.5685 GB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/2.777, allocations: 9.344 kB / 2.219 GB, free: 0.5685 GB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03694/2.814, allocations: 7.101 MB / 2.226 GB, free: 0.5671 GB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002773/2.817, allocations: 0.7748 MB / 2.227 GB, free: 0.5669 GB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/2.818, allocations: 44.31 kB / 2.227 GB, free: 0.5669 GB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/2.82, allocations: 259.6 kB / 2.227 GB, free: 0.5669 GB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/2.821, allocations: 146.6 kB / 2.227 GB, free: 0.5668 GB / 1.607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01674/2.837, allocations: 6.018 MB / 2.233 GB, free: 0.5651 GB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0137/2.851, allocations: 7.236 MB / 2.24 GB, free: 0.5628 GB / 1.607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003744/2.855, allocations: 2.074 MB / 2.242 GB, free: 0.5622 GB / 1.607 GB Notification: Performance of sorting global known variables: time 0.008713/2.863, allocations: 13.39 MB / 2.255 GB, free: 0.5547 GB / 1.607 GB Notification: Performance of Backend: time 4.91e-07/2.863, allocations: 0 / 2.255 GB, free: 0.5547 GB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.07808/2.942, allocations: 84.24 MB / 2.337 GB, free: 484.8 MB / 1.607 GB Notification: Performance of SimCode: time 0.02555/2.967, allocations: 22.48 MB / 2.359 GB, free: 462.5 MB / 1.607 GB Notification: Performance of Templates: time 0.1879/3.155, allocations: 163.1 MB / 2.519 GB, free: 299.6 MB / 1.607 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 15.528264325999771] Failed to read output from testmodel.py, exit status != 0: 3.1639406429967494 3.173667616 2.608114318 Calling exit ...