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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001525/0.001525, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.001665/0.001665, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6988, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009678/0.7085, allocations: 8.529 MB / 1.235 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.8694, allocations: 159.4 MB / 1.39 GB, free: 4.898 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.8709, allocations: 47.75 kB / 1.39 GB, free: 4.852 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004812/0.8757, allocations: 2 MB / 1.392 GB, free: 2.844 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.8789, allocations: 1.271 MB / 1.394 GB, free: 1.57 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.8822, allocations: 1.457 MB / 1.395 GB, free: 124 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005285/0.8875, allocations: 5.442 MB / 1.4 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.8892, allocations: 1.227 MB / 1.402 GB, free: 9.387 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.8917, allocations: 1.73 MB / 1.403 GB, free: 7.652 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.8939, allocations: 1.553 MB / 1.405 GB, free: 6.094 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.8944, allocations: 288 kB / 1.405 GB, free: 5.812 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.8986, allocations: 2.583 MB / 1.408 GB, free: 3.227 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003315/0.9019, allocations: 4.377 MB / 1.412 GB, free: 14.84 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.9041, allocations: 1.726 MB / 1.414 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007377/0.9115, allocations: 6.338 MB / 1.42 GB, free: 6.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.9115, allocations: 7.938 kB / 1.42 GB, free: 6.742 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9115, allocations: 0 / 1.42 GB, free: 6.742 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.721e-05/0.9116, allocations: 0 / 1.42 GB, free: 6.742 MB / 1.139 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.006493/0.9181, allocations: 4.307 MB / 1.424 GB, free: 2.352 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9182, allocations: 12.02 kB / 1.424 GB, free: 2.34 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.9194, allocations: 446.4 kB / 1.424 GB, free: 1.902 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.9306, allocations: 12.36 MB / 1.436 GB, free: 5.48 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.9307, allocations: 171.1 kB / 1.437 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.931, allocations: 240 kB / 1.437 GB, free: 5.078 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.9345, allocations: 2.373 MB / 1.439 GB, free: 2.645 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.9345, allocations: 0 / 1.439 GB, free: 2.645 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.9347, allocations: 68 kB / 1.439 GB, free: 2.578 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.9347, allocations: 40 kB / 1.439 GB, free: 2.539 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.9383, allocations: 2.467 MB / 1.442 GB, free: 68 kB / 1.154 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.01645/0.9548, allocations: 15.48 MB / 1.457 GB, free: 352 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.9577, allocations: 1.99 MB / 1.459 GB, free: 14.35 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.9592, allocations: 1.285 MB / 1.46 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.9593, allocations: 41.02 kB / 1.46 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.9612, allocations: 1.354 MB / 1.461 GB, free: 11.65 MB / 1.186 GB Notification: Performance of pre-optimization done (n=138): time 3.787e-06/0.9612, allocations: 0 / 1.461 GB, free: 11.65 MB / 1.186 GB Notification: Performance of matching and sorting (n=138): time 0.006287/0.9675, allocations: 3.836 MB / 1.465 GB, free: 7.773 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.9677, allocations: 358.5 kB / 1.465 GB, free: 7.375 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02849/0.9962, allocations: 20.61 MB / 1.486 GB, free: 2.742 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004265/0.9967, allocations: 81.7 kB / 1.486 GB, free: 2.656 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.9978, allocations: 1.184 MB / 1.487 GB, free: 1.465 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.9983, allocations: 487.9 kB / 1.487 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004089/1.002, allocations: 5.019 MB / 1.492 GB, free: 11.94 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.003, allocations: 305.1 kB / 1.492 GB, free: 11.64 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0323/1.035, allocations: 38.68 MB / 1.53 GB, free: 4.949 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5776/1.612, allocations: 40.08 MB / 1.569 GB, free: 328.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03191/1.644, allocations: 47.73 MB / 1.616 GB, free: 295 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.266e-05/1.645, allocations: 4 kB / 1.616 GB, free: 295 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06647/1.711, allocations: 91 MB / 1.705 GB, free: 206.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/1.711, allocations: 206.4 kB / 1.705 GB, free: 206.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/1.711, allocations: 20 kB / 1.705 GB, free: 206.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/1.712, allocations: 115.1 kB / 1.705 GB, free: 206.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.714, allocations: 0.6123 MB / 1.706 GB, free: 205.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.716, allocations: 1.669 MB / 1.707 GB, free: 203.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/1.719, allocations: 374.7 kB / 1.708 GB, free: 203.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000435/1.719, allocations: 155.7 kB / 1.708 GB, free: 203.4 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.002356/1.722, allocations: 2.516 MB / 1.71 GB, free: 200.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/1.722, allocations: 272.2 kB / 1.711 GB, free: 200.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/1.727, allocations: 3.479 MB / 1.714 GB, free: 197.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.727, allocations: 7.969 kB / 1.714 GB, free: 197.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.727, allocations: 0 / 1.714 GB, free: 197.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008337/1.728, allocations: 0.5655 MB / 1.715 GB, free: 196.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/1.728, allocations: 39.98 kB / 1.715 GB, free: 196.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.729, allocations: 83.91 kB / 1.715 GB, free: 196.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/1.729, allocations: 101.2 kB / 1.715 GB, free: 196.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004106/1.733, allocations: 3.667 MB / 1.718 GB, free: 192.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005061/1.738, allocations: 5.042 MB / 1.723 GB, free: 187.9 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001521/1.74, allocations: 2.033 MB / 1.725 GB, free: 185.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007315/1.747, allocations: 12.79 MB / 1.738 GB, free: 173.1 MB / 1.279 GB Notification: Performance of Backend: time 4.71e-07/1.747, allocations: 3.938 kB / 1.738 GB, free: 173.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03326/1.781, allocations: 50.89 MB / 1.787 GB, free: 122.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.01807/1.799, allocations: 19.54 MB / 1.807 GB, free: 103 MB / 1.279 GB Notification: Performance of Templates: time 0.1595/1.958, allocations: 63.15 MB / 1.868 GB, free: 40.12 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)