Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001632, allocations: 110.5 kB / 16.41 MB, free: 6.492 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.001851/0.001852, allocations: 187.9 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.126/2.126, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.518/4.518, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 59.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24/1.242, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01764/1.26, allocations: 8.507 MB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2876/1.548, allocations: 159.4 MB / 1.372 GB, free: 4.988 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/1.55, allocations: 39.81 kB / 1.373 GB, free: 4.949 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.008279/1.558, allocations: 2.001 MB / 1.374 GB, free: 2.941 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/1.564, allocations: 1.251 MB / 1.376 GB, free: 1.688 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005848/1.57, allocations: 1.453 MB / 1.377 GB, free: 248 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009274/1.579, allocations: 5.434 MB / 1.382 GB, free: 10.8 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/1.582, allocations: 1.223 MB / 1.384 GB, free: 9.523 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004234/1.587, allocations: 1.734 MB / 1.385 GB, free: 7.785 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/1.59, allocations: 1.557 MB / 1.387 GB, free: 6.223 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/1.592, allocations: 288 kB / 1.387 GB, free: 5.941 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00761/1.599, allocations: 2.575 MB / 1.39 GB, free: 3.363 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006581/1.606, allocations: 4.358 MB / 1.394 GB, free: 15 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004451/1.61, allocations: 1.726 MB / 1.396 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01387/1.624, allocations: 6.31 MB / 1.402 GB, free: 6.938 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.624, allocations: 0 / 1.402 GB, free: 6.938 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.164e-06/1.624, allocations: 4 kB / 1.402 GB, free: 6.934 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001591/1.625, allocations: 0 / 1.402 GB, free: 6.934 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01421/1.639, allocations: 4.188 MB / 1.406 GB, free: 2.668 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.639, allocations: 12.03 kB / 1.406 GB, free: 2.656 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/1.642, allocations: 420.4 kB / 1.406 GB, free: 2.242 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02256/1.665, allocations: 12.33 MB / 1.418 GB, free: 5.844 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/1.665, allocations: 179.1 kB / 1.418 GB, free: 5.668 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/1.666, allocations: 236 kB / 1.419 GB, free: 5.438 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007951/1.674, allocations: 2.381 MB / 1.421 GB, free: 2.996 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.585e-05/1.674, allocations: 3.938 kB / 1.421 GB, free: 2.992 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003405/1.674, allocations: 68 kB / 1.421 GB, free: 2.926 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/1.675, allocations: 36 kB / 1.421 GB, free: 2.891 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007307/1.682, allocations: 2.463 MB / 1.423 GB, free: 432 kB / 1.139 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.03412/1.716, allocations: 15.48 MB / 1.439 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005749/1.722, allocations: 1.987 MB / 1.441 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00297/1.725, allocations: 1.281 MB / 1.442 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.725, allocations: 41.09 kB / 1.442 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003526/1.729, allocations: 1.365 MB / 1.443 GB, free: 12 MB / 1.17 GB Notification: Performance of pre-optimization done (n=138): time 7.003e-06/1.729, allocations: 0 / 1.443 GB, free: 12 MB / 1.17 GB Notification: Performance of matching and sorting (n=138): time 0.01275/1.741, allocations: 3.819 MB / 1.447 GB, free: 8.152 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004366/1.742, allocations: 362.5 kB / 1.447 GB, free: 7.75 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05811/1.8, allocations: 20.6 MB / 1.467 GB, free: 3.125 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007004/1.801, allocations: 89.64 kB / 1.467 GB, free: 3.031 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.803, allocations: 1.159 MB / 1.469 GB, free: 1.859 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009384/1.804, allocations: 473.4 kB / 1.469 GB, free: 1.391 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008302/1.812, allocations: 4.919 MB / 1.474 GB, free: 12.44 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.813, allocations: 301.1 kB / 1.474 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06318/1.876, allocations: 38.69 MB / 1.512 GB, free: 5.445 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06643/1.942, allocations: 40.08 MB / 1.551 GB, free: 13.11 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.126/3.069, allocations: 47.72 MB / 1.598 GB, free: 322.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.728e-05/3.069, allocations: 8.875 kB / 1.598 GB, free: 322.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1182/3.187, allocations: 90.96 MB / 1.686 GB, free: 234.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003437/3.188, allocations: 201.6 kB / 1.687 GB, free: 234.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/3.188, allocations: 22.88 kB / 1.687 GB, free: 234.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009345/3.189, allocations: 114.7 kB / 1.687 GB, free: 234.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/3.193, allocations: 0.6083 MB / 1.687 GB, free: 234 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/3.196, allocations: 1.678 MB / 1.689 GB, free: 232.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/3.201, allocations: 373.1 kB / 1.689 GB, free: 231.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009103/3.202, allocations: 155.5 kB / 1.69 GB, free: 231.7 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * 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.005008/3.207, allocations: 2.507 MB / 1.692 GB, free: 229.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/3.208, allocations: 256.5 kB / 1.692 GB, free: 229 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008594/3.217, allocations: 3.485 MB / 1.696 GB, free: 225.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/3.217, allocations: 3.984 kB / 1.696 GB, free: 225.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/3.217, allocations: 7.938 kB / 1.696 GB, free: 225.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/3.219, allocations: 0.5479 MB / 1.696 GB, free: 224.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008599/3.22, allocations: 28 kB / 1.696 GB, free: 224.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/3.222, allocations: 93.11 kB / 1.696 GB, free: 224.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/3.222, allocations: 105.1 kB / 1.696 GB, free: 224.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00756/3.23, allocations: 3.656 MB / 1.7 GB, free: 221.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009952/3.24, allocations: 5.04 MB / 1.705 GB, free: 216 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00302/3.243, allocations: 2.029 MB / 1.707 GB, free: 214 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01392/3.257, allocations: 12.8 MB / 1.719 GB, free: 201.2 MB / 1.279 GB Notification: Performance of Backend: time 1.532e-06/3.257, allocations: 0 / 1.719 GB, free: 201.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.06084/3.318, allocations: 50.87 MB / 1.769 GB, free: 150.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.03392/3.352, allocations: 19.25 MB / 1.788 GB, free: 131.4 MB / 1.279 GB Notification: Performance of Templates: time 0.3157/3.667, allocations: 63.95 MB / 1.85 GB, free: 67.79 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)