Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 114.3 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 199.2 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 62.53 kB / 1.097 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2945, allocations: 168.7 MB / 1.262 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01737/0.3118, allocations: 14.78 MB / 1.276 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1871/0.499, allocations: 163.9 MB / 1.437 GB, free: 9.695 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.5017, allocations: 71.62 kB / 1.437 GB, free: 9.625 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006374/0.5081, allocations: 2.446 MB / 1.439 GB, free: 7.168 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004534/0.5126, allocations: 1.67 MB / 1.441 GB, free: 5.492 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.5181, allocations: 2.259 MB / 1.443 GB, free: 3.238 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008077/0.5262, allocations: 7.154 MB / 1.45 GB, free: 12.07 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.5282, allocations: 1.33 MB / 1.451 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.5313, allocations: 2.36 MB / 1.453 GB, free: 8.297 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.5342, allocations: 2.347 MB / 1.456 GB, free: 5.941 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006694/0.5348, allocations: 436 kB / 1.456 GB, free: 5.512 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005137/0.54, allocations: 3.024 MB / 1.459 GB, free: 2.484 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004141/0.5441, allocations: 4.716 MB / 1.464 GB, free: 13.76 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002635/0.5467, allocations: 2.41 MB / 1.466 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.5572, allocations: 8.377 MB / 1.474 GB, free: 2.934 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5572, allocations: 0 / 1.474 GB, free: 2.934 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5572, allocations: 0 / 1.474 GB, free: 2.934 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.203e-05/0.5573, allocations: 0 / 1.474 GB, free: 2.934 MB / 1.186 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.01029/0.5676, allocations: 5.781 MB / 1.48 GB, free: 13.05 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5677, allocations: 12.03 kB / 1.48 GB, free: 13.04 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.5845, allocations: 2.784 MB / 1.483 GB, free: 10.25 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02889/0.6134, allocations: 15.2 MB / 1.497 GB, free: 10.96 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.6136, allocations: 220.4 kB / 1.498 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000865/0.6145, allocations: 304 kB / 1.498 GB, free: 10.45 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00811/0.6226, allocations: 3.846 MB / 1.502 GB, free: 6.473 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.6227, allocations: 7.938 kB / 1.502 GB, free: 6.465 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.6229, allocations: 92 kB / 1.502 GB, free: 6.375 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.623, allocations: 55.98 kB / 1.502 GB, free: 6.32 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007711/0.6307, allocations: 3.69 MB / 1.505 GB, free: 2.613 MB / 1.217 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.03017/0.6609, allocations: 22.17 MB / 1.527 GB, free: 11.63 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007168/0.668, allocations: 2.926 MB / 1.53 GB, free: 8.703 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004344/0.6724, allocations: 1.885 MB / 1.532 GB, free: 6.805 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/0.6729, allocations: 429.8 kB / 1.532 GB, free: 6.312 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005002/0.6779, allocations: 2.351 MB / 1.535 GB, free: 3.938 MB / 1.248 GB Notification: Performance of pre-optimization done (n=185): time 3.516e-06/0.6779, allocations: 0 / 1.535 GB, free: 3.938 MB / 1.248 GB Notification: Performance of matching and sorting (n=185): time 0.02379/0.7017, allocations: 8.361 MB / 1.543 GB, free: 11.5 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002975/0.702, allocations: 418.3 kB / 1.543 GB, free: 11.03 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5772/1.279, allocations: 21.55 MB / 1.564 GB, free: 281.2 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007116/1.28, allocations: 97.91 kB / 1.564 GB, free: 281.1 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/1.281, allocations: 1.663 MB / 1.566 GB, free: 280.3 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005802/1.282, allocations: 0.6504 MB / 1.566 GB, free: 280 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00452/1.287, allocations: 5.186 MB / 1.572 GB, free: 277.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 3.685e-05/1.287, allocations: 306.2 kB / 1.572 GB, free: 277.4 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03167/1.318, allocations: 40.11 MB / 1.611 GB, free: 250.2 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03063/1.349, allocations: 41.62 MB / 1.652 GB, free: 210.6 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04058/1.389, allocations: 49.84 MB / 1.7 GB, free: 160.9 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.971e-05/1.389, allocations: 8 kB / 1.7 GB, free: 160.9 MB / 1.264 GB Notification: Performance of matching and sorting (n=1918) (initialization): time 0.08133/1.471, allocations: 94.76 MB / 1.793 GB, free: 65.79 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/1.471, allocations: 201.6 kB / 1.793 GB, free: 65.59 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08348/1.554, allocations: 68.35 MB / 1.86 GB, free: 12.94 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04876/1.603, allocations: 5.758 MB / 1.865 GB, free: 7.199 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/1.608, allocations: 0.9048 MB / 1.866 GB, free: 6.293 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009089/1.617, allocations: 6.777 MB / 1.873 GB, free: 15.07 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/1.623, allocations: 0.6641 MB / 1.874 GB, free: 14.48 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006037/1.624, allocations: 203.9 kB / 1.874 GB, free: 14.28 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04763/1.671, allocations: 42.47 MB / 1.915 GB, free: 3.809 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04773/1.719, allocations: 41.62 MB / 1.956 GB, free: 9.863 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06125/1.78, allocations: 49.81 MB / 2.005 GB, free: 7.555 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.184e-05/1.78, allocations: 8 kB / 2.005 GB, free: 7.547 MB / 1.42 GB Notification: Performance of matching and sorting (n=1918) (initialization_lambda0): time 0.1191/1.899, allocations: 94.21 MB / 2.097 GB, free: 8.934 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/1.9, allocations: 211.1 kB / 2.097 GB, free: 8.723 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.6101/2.51, allocations: 65.88 MB / 2.161 GB, free: 0.5349 GB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/2.511, allocations: 0.5289 MB / 2.162 GB, free: 0.5348 GB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004916/2.516, allocations: 0.9591 MB / 2.163 GB, free: 0.5348 GB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007223/2.524, allocations: 9.014 MB / 2.171 GB, free: 0.5277 GB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/2.529, allocations: 0.5574 MB / 2.172 GB, free: 0.5276 GB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004405/2.529, allocations: 197.6 kB / 2.172 GB, free: 0.5276 GB / 1.545 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.0009735/2.53, allocations: 0.575 MB / 2.173 GB, free: 0.5272 GB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005794/2.531, allocations: 382.3 kB / 2.173 GB, free: 0.5272 GB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/2.544, allocations: 6.331 MB / 2.179 GB, free: 0.5253 GB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/2.544, allocations: 15.25 kB / 2.179 GB, free: 0.5253 GB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03378/2.578, allocations: 7.585 MB / 2.187 GB, free: 0.5219 GB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/2.579, allocations: 0.8451 MB / 2.187 GB, free: 0.5214 GB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/2.58, allocations: 44.41 kB / 2.187 GB, free: 0.5213 GB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/2.583, allocations: 253.7 kB / 2.188 GB, free: 0.5211 GB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/2.583, allocations: 135.1 kB / 2.188 GB, free: 0.5211 GB / 1.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01464/2.597, allocations: 6.761 MB / 2.194 GB, free: 0.5156 GB / 1.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01223/2.61, allocations: 7.838 MB / 2.202 GB, free: 0.5083 GB / 1.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003492/2.613, allocations: 2.116 MB / 2.204 GB, free: 0.5062 GB / 1.545 GB Notification: Performance of sorting global known variables: time 0.007696/2.621, allocations: 13.44 MB / 2.217 GB, free: 0.4931 GB / 1.545 GB Notification: Performance of Backend: time 3.6e-07/2.621, allocations: 3.75 kB / 2.217 GB, free: 0.4931 GB / 1.545 GB Notification: Performance of simCode: created initialization part: time 0.07274/2.694, allocations: 84.71 MB / 2.3 GB, free: 420.5 MB / 1.545 GB Notification: Performance of SimCode: time 0.02164/2.715, allocations: 22.3 MB / 2.322 GB, free: 398.2 MB / 1.545 GB Notification: Performance of Templates: time 0.1842/2.899, allocations: 147.5 MB / 2.466 GB, free: 250.7 MB / 1.545 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)