Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_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_10_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.00156/0.00156, allocations: 116.2 kB / 16.42 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.001794/0.001794, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6603, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009685/0.67, allocations: 8.561 MB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.833, allocations: 159.4 MB / 1.331 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.8348, allocations: 47.69 kB / 1.331 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005622/0.8404, allocations: 2.001 MB / 1.333 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.844, allocations: 1.275 MB / 1.335 GB, free: 7.883 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.8475, allocations: 1.448 MB / 1.336 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005534/0.853, allocations: 5.45 MB / 1.341 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.8549, allocations: 1.223 MB / 1.343 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.8573, allocations: 1.726 MB / 1.344 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.8595, allocations: 1.561 MB / 1.346 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006803/0.8602, allocations: 292 kB / 1.346 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.8645, allocations: 2.579 MB / 1.349 GB, free: 9.539 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003675/0.8682, allocations: 4.362 MB / 1.353 GB, free: 5.172 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002337/0.8705, allocations: 1.726 MB / 1.355 GB, free: 3.438 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007385/0.8779, allocations: 6.306 MB / 1.361 GB, free: 13.11 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8779, allocations: 0 / 1.361 GB, free: 13.11 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.252e-06/0.878, allocations: 0 / 1.361 GB, free: 13.11 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001257/0.8781, allocations: 4 kB / 1.361 GB, free: 13.11 MB / 1.092 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.008048/0.8861, allocations: 4.184 MB / 1.365 GB, free: 8.848 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8862, allocations: 12.88 kB / 1.365 GB, free: 8.836 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.8875, allocations: 424.4 kB / 1.365 GB, free: 8.418 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.8996, allocations: 12.34 MB / 1.377 GB, free: 12.01 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.8998, allocations: 175.1 kB / 1.377 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000464/0.9003, allocations: 232 kB / 1.378 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.9054, allocations: 2.387 MB / 1.38 GB, free: 9.164 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.9055, allocations: 0 / 1.38 GB, free: 9.164 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.9058, allocations: 68 kB / 1.38 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.9059, allocations: 36 kB / 1.38 GB, free: 9.062 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/0.9102, allocations: 2.463 MB / 1.382 GB, free: 6.594 MB / 1.107 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.02053/0.9308, allocations: 15.49 MB / 1.398 GB, free: 6.867 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.9339, allocations: 1.976 MB / 1.399 GB, free: 4.887 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.9355, allocations: 1.281 MB / 1.401 GB, free: 3.605 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.625e-05/0.9356, allocations: 45.08 kB / 1.401 GB, free: 3.559 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/0.9376, allocations: 1.361 MB / 1.402 GB, free: 2.176 MB / 1.123 GB Notification: Performance of pre-optimization done (n=138): time 3.848e-06/0.9376, allocations: 4 kB / 1.402 GB, free: 2.172 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.006831/0.9444, allocations: 3.815 MB / 1.406 GB, free: 14.32 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002434/0.9447, allocations: 362.5 kB / 1.406 GB, free: 13.92 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03012/0.9748, allocations: 20.6 MB / 1.426 GB, free: 9.297 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006407/0.9755, allocations: 89.7 kB / 1.426 GB, free: 9.203 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.977, allocations: 1.167 MB / 1.428 GB, free: 8.023 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006462/0.9777, allocations: 461.5 kB / 1.428 GB, free: 7.566 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004298/0.982, allocations: 4.927 MB / 1.433 GB, free: 2.605 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.9821, allocations: 301.1 kB / 1.433 GB, free: 2.309 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03391/1.016, allocations: 38.68 MB / 1.471 GB, free: 11.61 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03554/1.052, allocations: 40.08 MB / 1.51 GB, free: 3.273 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04438/1.096, allocations: 47.73 MB / 1.557 GB, free: 3.07 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/1.096, allocations: 8 kB / 1.557 GB, free: 3.062 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.5814/1.677, allocations: 90.96 MB / 1.645 GB, free: 309 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002238/1.678, allocations: 205.6 kB / 1.646 GB, free: 308.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/1.678, allocations: 19.34 kB / 1.646 GB, free: 308.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/1.678, allocations: 111.3 kB / 1.646 GB, free: 308.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/1.681, allocations: 0.6178 MB / 1.646 GB, free: 308.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/1.683, allocations: 1.668 MB / 1.648 GB, free: 306.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/1.686, allocations: 363.8 kB / 1.648 GB, free: 306.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/1.686, allocations: 158.8 kB / 1.648 GB, free: 305.9 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.002095/1.688, allocations: 2.514 MB / 1.651 GB, free: 303.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/1.689, allocations: 260.4 kB / 1.651 GB, free: 303.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/1.693, allocations: 3.471 MB / 1.655 GB, free: 299.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.693, allocations: 11.97 kB / 1.655 GB, free: 299.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.693, allocations: 0 / 1.655 GB, free: 299.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/1.694, allocations: 0.5529 MB / 1.655 GB, free: 299.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/1.694, allocations: 39.86 kB / 1.655 GB, free: 299.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.695, allocations: 87.31 kB / 1.655 GB, free: 299 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.696, allocations: 101.2 kB / 1.655 GB, free: 298.9 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004154/1.7, allocations: 3.666 MB / 1.659 GB, free: 295.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005208/1.705, allocations: 5.025 MB / 1.664 GB, free: 290.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001542/1.707, allocations: 2.041 MB / 1.666 GB, free: 288.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007467/1.714, allocations: 12.79 MB / 1.678 GB, free: 275.3 MB / 1.279 GB Notification: Performance of Backend: time 6.61e-07/1.714, allocations: 0 / 1.678 GB, free: 275.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03267/1.747, allocations: 50.88 MB / 1.728 GB, free: 224.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.01814/1.765, allocations: 19.25 MB / 1.747 GB, free: 205.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1594/1.924, allocations: 63.06 MB / 1.808 GB, free: 142.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)