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.001285/0.001285, allocations: 103.9 kB / 16.4 MB, free: 6.496 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.00135/0.00135, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 71.88 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8635, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01057/0.8741, allocations: 8.536 MB / 1.217 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1831/1.057, allocations: 159.4 MB / 1.372 GB, free: 5.004 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/1.059, allocations: 35.81 kB / 1.372 GB, free: 4.969 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006392/1.066, allocations: 1.989 MB / 1.374 GB, free: 2.973 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004444/1.07, allocations: 1.251 MB / 1.376 GB, free: 1.719 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/1.075, allocations: 1.446 MB / 1.377 GB, free: 288 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007371/1.082, allocations: 5.45 MB / 1.382 GB, free: 10.82 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/1.085, allocations: 1.216 MB / 1.384 GB, free: 9.555 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/1.088, allocations: 1.745 MB / 1.385 GB, free: 7.805 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/1.092, allocations: 1.557 MB / 1.387 GB, free: 6.242 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001027/1.093, allocations: 292 kB / 1.387 GB, free: 5.957 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/1.099, allocations: 2.571 MB / 1.39 GB, free: 3.383 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004758/1.103, allocations: 4.362 MB / 1.394 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003668/1.107, allocations: 1.726 MB / 1.396 GB, free: 13.28 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.118, allocations: 6.306 MB / 1.402 GB, free: 6.957 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.118, allocations: 4 kB / 1.402 GB, free: 6.953 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.495e-06/1.118, allocations: 0 / 1.402 GB, free: 6.953 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001937/1.118, allocations: 0 / 1.402 GB, free: 6.953 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.01195/1.13, allocations: 4.188 MB / 1.406 GB, free: 2.688 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.13, allocations: 8.031 kB / 1.406 GB, free: 2.68 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/1.133, allocations: 424.4 kB / 1.406 GB, free: 2.262 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/1.148, allocations: 12.33 MB / 1.418 GB, free: 5.859 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/1.148, allocations: 175.1 kB / 1.418 GB, free: 5.688 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008583/1.149, allocations: 232 kB / 1.419 GB, free: 5.461 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/1.154, allocations: 2.377 MB / 1.421 GB, free: 3.023 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/1.154, allocations: 3.938 kB / 1.421 GB, free: 3.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/1.155, allocations: 72 kB / 1.421 GB, free: 2.949 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/1.155, allocations: 36 kB / 1.421 GB, free: 2.914 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/1.159, allocations: 2.459 MB / 1.423 GB, free: 460 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.02345/1.183, allocations: 15.48 MB / 1.439 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/1.186, allocations: 1.995 MB / 1.441 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/1.188, allocations: 1.277 MB / 1.442 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/1.188, allocations: 41.02 kB / 1.442 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002158/1.19, allocations: 1.354 MB / 1.443 GB, free: 12.03 MB / 1.17 GB Notification: Performance of pre-optimization done (n=138): time 3.727e-06/1.19, allocations: 0 / 1.443 GB, free: 12.03 MB / 1.17 GB Notification: Performance of matching and sorting (n=138): time 0.00731/1.198, allocations: 3.815 MB / 1.447 GB, free: 8.184 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002506/1.198, allocations: 366.5 kB / 1.447 GB, free: 7.777 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03475/1.233, allocations: 20.6 MB / 1.467 GB, free: 3.152 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000657/1.234, allocations: 85.7 kB / 1.467 GB, free: 3.062 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.236, allocations: 1.17 MB / 1.469 GB, free: 1.879 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008023/1.237, allocations: 465.4 kB / 1.469 GB, free: 1.418 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006469/1.243, allocations: 4.923 MB / 1.474 GB, free: 12.46 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.243, allocations: 301.1 kB / 1.474 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03724/1.28, allocations: 38.69 MB / 1.512 GB, free: 5.469 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03924/1.32, allocations: 40.07 MB / 1.551 GB, free: 13.14 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.717/2.037, allocations: 47.74 MB / 1.598 GB, free: 323.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.753e-05/2.037, allocations: 8 kB / 1.598 GB, free: 323.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06877/2.106, allocations: 90.96 MB / 1.686 GB, free: 235.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002559/2.106, allocations: 207.5 kB / 1.687 GB, free: 235.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-05/2.106, allocations: 16 kB / 1.687 GB, free: 235.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/2.107, allocations: 115.9 kB / 1.687 GB, free: 235.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/2.109, allocations: 0.6084 MB / 1.687 GB, free: 234.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/2.111, allocations: 1.674 MB / 1.689 GB, free: 233.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/2.114, allocations: 366.2 kB / 1.689 GB, free: 232.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/2.115, allocations: 157 kB / 1.69 GB, free: 232.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.002321/2.117, allocations: 2.514 MB / 1.692 GB, free: 230.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/2.118, allocations: 256.5 kB / 1.692 GB, free: 229.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/2.122, allocations: 3.484 MB / 1.696 GB, free: 226.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/2.122, allocations: 15.14 kB / 1.696 GB, free: 226.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/2.122, allocations: 3.938 kB / 1.696 GB, free: 226.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/2.122, allocations: 7.969 kB / 1.696 GB, free: 226.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/2.124, allocations: 2.086 MB / 1.698 GB, free: 224.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/2.124, allocations: 0 / 1.698 GB, free: 224.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/2.125, allocations: 215.2 kB / 1.698 GB, free: 224.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/2.126, allocations: 72.33 kB / 1.698 GB, free: 224 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/2.126, allocations: 39.97 kB / 1.698 GB, free: 224 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/2.127, allocations: 1.65 MB / 1.7 GB, free: 222.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.127, allocations: 0 / 1.7 GB, free: 222.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/2.131, allocations: 3.343 MB / 1.703 GB, free: 218.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/2.133, allocations: 0.5441 MB / 1.703 GB, free: 218.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/2.133, allocations: 39.94 kB / 1.703 GB, free: 218.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009749/2.134, allocations: 87.31 kB / 1.704 GB, free: 218.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/2.134, allocations: 101.2 kB / 1.704 GB, free: 218.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/2.134, allocations: 71.91 kB / 1.704 GB, free: 218 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007495/2.142, allocations: 12.8 MB / 1.716 GB, free: 205.2 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.41e-07/2.142, allocations: 0 / 1.716 GB, free: 205.2 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004359/2.146, allocations: 1.778 MB / 1.718 GB, free: 203.5 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002411/2.149, allocations: 1.009 MB / 1.719 GB, free: 202.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03031/2.179, allocations: 50.92 MB / 1.769 GB, free: 151.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.179, allocations: 0 / 1.769 GB, free: 151.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/2.182, allocations: 2.72 MB / 1.771 GB, free: 149.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/2.184, allocations: 495.8 kB / 1.772 GB, free: 148.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/2.195, allocations: 9.786 MB / 1.781 GB, free: 138.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/2.196, allocations: 2.035 MB / 1.783 GB, free: 136.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009364/2.197, allocations: 235.3 kB / 1.784 GB, free: 136.5 MB / 1.279 GB Notification: Performance of SimCode: time 1.322e-06/2.197, allocations: 4 kB / 1.784 GB, free: 136.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1137/2.311, allocations: 99.47 MB / 1.881 GB, free: 38.36 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)