Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009781/0.000978, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009388/0.009388, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 473.4 MB / 0.7469 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 12.84 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4192, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008361/0.4276, allocations: 6.774 MB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1918/0.6195, allocations: 151.1 MB / 1.228 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.6211, allocations: 19.88 kB / 1.228 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005249/0.6264, allocations: 1.655 MB / 1.23 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.6298, allocations: 0.7421 MB / 1.231 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.6325, allocations: 0.8894 MB / 1.232 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.637, allocations: 3.492 MB / 1.235 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.6384, allocations: 0.8711 MB / 1.236 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.6404, allocations: 0.9144 MB / 1.237 GB, free: 412 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.6419, allocations: 0.8829 MB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.6421, allocations: 48 kB / 1.238 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.6461, allocations: 1.97 MB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.6477, allocations: 1.735 MB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.649, allocations: 0.9957 MB / 1.242 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006677/0.6557, allocations: 4.171 MB / 1.246 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6557, allocations: 4 kB / 1.246 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6557, allocations: 4 kB / 1.246 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.552e-05/0.6558, allocations: 0 / 1.246 GB, free: 6.559 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.005214/0.661, allocations: 2.526 MB / 1.249 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6611, allocations: 8.031 kB / 1.249 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.662, allocations: 317.8 kB / 1.249 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6677/1.33, allocations: 4.552 MB / 1.253 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/1.33, allocations: 133.3 kB / 1.254 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/1.33, allocations: 182.7 kB / 1.254 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/1.333, allocations: 1.676 MB / 1.255 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/1.333, allocations: 0.7188 kB / 1.255 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.333, allocations: 54.16 kB / 1.255 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/1.333, allocations: 28.44 kB / 1.255 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/1.336, allocations: 1.738 MB / 1.257 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/1.346, allocations: 7.511 MB / 1.265 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/1.349, allocations: 1.59 MB / 1.266 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/1.35, allocations: 1.034 MB / 1.267 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.813e-05/1.35, allocations: 40.72 kB / 1.267 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/1.351, allocations: 0.982 MB / 1.268 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.226e-06/1.351, allocations: 0.5469 kB / 1.268 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004794/1.356, allocations: 2.854 MB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/1.356, allocations: 349.7 kB / 1.271 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.367, allocations: 7.388 MB / 1.278 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004177/1.367, allocations: 71.53 kB / 1.278 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007086/1.368, allocations: 0.7913 MB / 1.279 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/1.368, allocations: 392 kB / 1.28 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/1.37, allocations: 1.608 MB / 1.281 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/1.37, allocations: 305.9 kB / 1.281 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01135/1.381, allocations: 12.99 MB / 1.294 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/1.391, allocations: 13.7 MB / 1.308 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/1.403, allocations: 17.11 MB / 1.324 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-05/1.404, allocations: 7.984 kB / 1.324 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02417/1.428, allocations: 31.27 MB / 1.355 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/1.428, allocations: 181.6 kB / 1.355 GB, free: 104 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.428, allocations: 12.66 kB / 1.355 GB, free: 104 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/1.428, allocations: 24 kB / 1.355 GB, free: 104 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.43, allocations: 475.2 kB / 1.355 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/1.43, allocations: 31.92 kB / 1.355 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.431, allocations: 298.6 kB / 1.356 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/1.432, allocations: 113.5 kB / 1.356 GB, free: 103.1 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.001225/1.433, allocations: 1.232 MB / 1.357 GB, free: 101.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/1.433, allocations: 177.7 kB / 1.357 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/1.436, allocations: 2.759 MB / 1.36 GB, free: 98.89 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.436, allocations: 12 kB / 1.36 GB, free: 98.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.436, allocations: 0 / 1.36 GB, free: 98.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.436, allocations: 7.969 kB / 1.36 GB, free: 98.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/1.438, allocations: 1.474 MB / 1.361 GB, free: 97.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.438, allocations: 7.984 kB / 1.361 GB, free: 97.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/1.439, allocations: 155.8 kB / 1.362 GB, free: 97.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.439, allocations: 4 kB / 1.362 GB, free: 97.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/1.439, allocations: 39.97 kB / 1.362 GB, free: 97.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.439, allocations: 7.125 kB / 1.362 GB, free: 97.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.439, allocations: 0 / 1.362 GB, free: 97.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/1.441, allocations: 2.649 MB / 1.364 GB, free: 94.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/1.442, allocations: 473.8 kB / 1.365 GB, free: 94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.442, allocations: 24 kB / 1.365 GB, free: 93.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/1.443, allocations: 97.23 kB / 1.365 GB, free: 93.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.443, allocations: 84.88 kB / 1.365 GB, free: 93.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/1.443, allocations: 51.97 kB / 1.365 GB, free: 93.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003028/1.446, allocations: 4.652 MB / 1.369 GB, free: 89.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.446, allocations: 0 / 1.369 GB, free: 89.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002603/1.449, allocations: 1.219 MB / 1.371 GB, free: 87.93 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.002121/1.451, allocations: 0.9405 MB / 1.372 GB, free: 87.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.464, allocations: 18.98 MB / 1.39 GB, free: 68.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.464, allocations: 0 / 1.39 GB, free: 68.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/1.466, allocations: 2.253 MB / 1.392 GB, free: 66.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.467, allocations: 339.7 kB / 1.393 GB, free: 65.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008606/1.476, allocations: 9.638 MB / 1.402 GB, free: 56.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.478, allocations: 2.355 MB / 1.404 GB, free: 53.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00119/1.479, allocations: 448.8 kB / 1.405 GB, free: 53.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/1.479, allocations: 159.4 kB / 1.405 GB, free: 53.06 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.479, allocations: 0 / 1.405 GB, free: 53.06 MB / 0.9981 GB Notification: Performance of Templates: time 0.04877/1.528, allocations: 33.06 MB / 1.437 GB, free: 20.21 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)