Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 195.5 kB / 16.53 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 62.52 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3356, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009166/0.3448, allocations: 7.265 MB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1784/0.5233, allocations: 155.5 MB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.5252, allocations: 31.88 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005098/0.5303, allocations: 1.809 MB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.5333, allocations: 0.8504 MB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.5358, allocations: 1.023 MB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.5394, allocations: 3.554 MB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.5406, allocations: 0.9172 MB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.5422, allocations: 1.153 MB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.5436, allocations: 1.055 MB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.5439, allocations: 196 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.5493, allocations: 2.212 MB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001903/0.5512, allocations: 1.907 MB / 1.241 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.5528, allocations: 1.189 MB / 1.243 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007788/0.5606, allocations: 4.359 MB / 1.247 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5606, allocations: 0 / 1.247 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5606, allocations: 0 / 1.247 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.576e-05/0.5606, allocations: 0 / 1.247 GB, free: 2.719 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.546/1.107, allocations: 2.984 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.107, allocations: 9.281 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/1.108, allocations: 302.6 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/1.115, allocations: 4.552 MB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/1.115, allocations: 135.8 kB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/1.116, allocations: 181.4 kB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/1.118, allocations: 1.669 MB / 1.256 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/1.118, allocations: 2.625 kB / 1.256 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.118, allocations: 56.31 kB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/1.118, allocations: 30.5 kB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/1.121, allocations: 1.724 MB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/1.131, allocations: 7.423 MB / 1.266 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/1.134, allocations: 1.578 MB / 1.267 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/1.135, allocations: 1.031 MB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.416e-05/1.135, allocations: 37.5 kB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/1.137, allocations: 0.9783 MB / 1.269 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.447e-06/1.137, allocations: 4 kB / 1.269 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.00445/1.141, allocations: 2.846 MB / 1.272 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000193/1.141, allocations: 343.5 kB / 1.272 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.152, allocations: 7.386 MB / 1.279 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004428/1.152, allocations: 70.66 kB / 1.279 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/1.153, allocations: 0.793 MB / 1.28 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/1.153, allocations: 393.4 kB / 1.281 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/1.155, allocations: 1.884 MB / 1.282 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/1.155, allocations: 302.5 kB / 1.283 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009829/1.165, allocations: 12.99 MB / 1.295 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.175, allocations: 13.7 MB / 1.309 GB, free: 151 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.188, allocations: 17.1 MB / 1.325 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/1.188, allocations: 0 / 1.325 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02389/1.212, allocations: 31.26 MB / 1.356 GB, free: 102.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/1.212, allocations: 185.3 kB / 1.356 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.212, allocations: 12 kB / 1.356 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-05/1.212, allocations: 23.98 kB / 1.356 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/1.214, allocations: 479.7 kB / 1.357 GB, free: 101.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/1.214, allocations: 31.86 kB / 1.357 GB, free: 101.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.216, allocations: 284.4 kB / 1.357 GB, free: 101.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.216, allocations: 104 kB / 1.357 GB, free: 101.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001306/1.217, allocations: 1.229 MB / 1.358 GB, free: 99.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/1.217, allocations: 181.6 kB / 1.358 GB, free: 99.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/1.221, allocations: 2.757 MB / 1.361 GB, free: 97 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.221, allocations: 11.94 kB / 1.361 GB, free: 96.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.221, allocations: 3.938 kB / 1.361 GB, free: 96.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.221, allocations: 3.984 kB / 1.361 GB, free: 96.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/1.222, allocations: 1.479 MB / 1.363 GB, free: 95.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.222, allocations: 4 kB / 1.363 GB, free: 95.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/1.223, allocations: 159.8 kB / 1.363 GB, free: 95.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.223, allocations: 4 kB / 1.363 GB, free: 95.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/1.223, allocations: 35.97 kB / 1.363 GB, free: 95.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/1.223, allocations: 4 kB / 1.363 GB, free: 95.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.223, allocations: 3.938 kB / 1.363 GB, free: 95.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/1.226, allocations: 2.64 MB / 1.365 GB, free: 92.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/1.226, allocations: 430.2 kB / 1.366 GB, free: 92.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/1.227, allocations: 31.98 kB / 1.366 GB, free: 92.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/1.227, allocations: 74.33 kB / 1.366 GB, free: 92.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.228, allocations: 84.83 kB / 1.366 GB, free: 91.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/1.228, allocations: 47.97 kB / 1.366 GB, free: 91.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0029/1.231, allocations: 4.652 MB / 1.371 GB, free: 87.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.231, allocations: 0 / 1.371 GB, free: 87.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002507/1.233, allocations: 1.209 MB / 1.372 GB, free: 86.11 MB / 0.9981 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/1.235, allocations: 0.9551 MB / 1.373 GB, free: 85.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01405/1.249, allocations: 19.62 MB / 1.392 GB, free: 65.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.249, allocations: 4 kB / 1.392 GB, free: 65.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.251, allocations: 2.243 MB / 1.394 GB, free: 63.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.253, allocations: 380.8 kB / 1.394 GB, free: 63.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009082/1.262, allocations: 8.576 MB / 1.403 GB, free: 54.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.264, allocations: 2.354 MB / 1.405 GB, free: 52.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001327/1.265, allocations: 452.2 kB / 1.405 GB, free: 51.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/1.265, allocations: 159.4 kB / 1.406 GB, free: 51.68 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.265, allocations: 0 / 1.406 GB, free: 51.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.06858/1.334, allocations: 36.36 MB / 1.441 GB, free: 15.55 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)