Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.537/2.537, allocations: 287.3 MB / 302.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 186.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 104.9 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004879, allocations: 13.38 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.231, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007444/0.2385, allocations: 4.868 MB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 1.019/1.258, allocations: 131.1 MB / 1.111 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/1.259, allocations: 20.66 kB / 1.111 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005835/1.265, allocations: 1.303 MB / 1.112 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/1.268, allocations: 0.6254 MB / 1.113 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003707/1.272, allocations: 0.7667 MB / 1.114 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004332/1.276, allocations: 1.778 MB / 1.115 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/1.278, allocations: 0.6942 MB / 1.116 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/1.281, allocations: 0.8486 MB / 1.117 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/1.283, allocations: 0.6671 MB / 1.117 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005035/1.284, allocations: 43.59 kB / 1.118 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005298/1.289, allocations: 1.652 MB / 1.119 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0026/1.292, allocations: 1.871 MB / 1.121 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/1.293, allocations: 0.5611 MB / 1.122 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/1.304, allocations: 6.142 MB / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.304, allocations: 0 / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/1.304, allocations: 0 / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000203/1.304, allocations: 1.125 kB / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.01904/1.323, allocations: 5.007 MB / 1.132 GB, free: 12.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.323, allocations: 8.781 kB / 1.132 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/1.327, allocations: 467.8 kB / 1.133 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4878/1.815, allocations: 307.4 MB / 1.433 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/1.815, allocations: 130.7 kB / 1.433 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006385/1.816, allocations: 178.8 kB / 1.433 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/1.82, allocations: 1.312 MB / 1.435 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/1.82, allocations: 4 kB / 1.435 GB, free: 0.7031 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/1.82, allocations: 48 kB / 1.435 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/1.82, allocations: 28 kB / 1.435 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7028/2.523, allocations: 1.407 MB / 1.436 GB, free: 375.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09403/2.617, allocations: 76.35 MB / 1.511 GB, free: 326.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/2.62, allocations: 1.141 MB / 1.512 GB, free: 325.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/2.62, allocations: 33.94 kB / 1.512 GB, free: 325.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/2.622, allocations: 0.6623 MB / 1.512 GB, free: 324.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 5.34e-06/2.622, allocations: 0 / 1.512 GB, free: 324.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.006801/2.629, allocations: 2.259 MB / 1.515 GB, free: 322.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002144/2.629, allocations: 342.1 kB / 1.515 GB, free: 321.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.31/3.939, allocations: 379.7 MB / 1.886 GB, free: 338.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005979/3.939, allocations: 69.7 kB / 1.886 GB, free: 338.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003296/3.943, allocations: 1.568 MB / 1.887 GB, free: 337.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/3.943, allocations: 355.6 kB / 1.888 GB, free: 336.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/3.944, allocations: 39.47 kB / 1.888 GB, free: 336.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002631/3.944, allocations: 411.7 kB / 1.888 GB, free: 336.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/3.947, allocations: 1.16 MB / 1.889 GB, free: 335.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/3.951, allocations: 1.881 MB / 1.891 GB, free: 333.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/3.955, allocations: 1.581 MB / 1.893 GB, free: 332 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-05/3.955, allocations: 4 kB / 1.893 GB, free: 332 MB / 0.9636 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01073/3.966, allocations: 3.684 MB / 1.896 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003261/3.966, allocations: 181.8 kB / 1.896 GB, free: 328.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/3.966, allocations: 20 kB / 1.896 GB, free: 328.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.007e-05/3.966, allocations: 36 kB / 1.896 GB, free: 328.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/3.969, allocations: 458.4 kB / 1.897 GB, free: 328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.117e-05/3.97, allocations: 44.47 kB / 1.897 GB, free: 328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/3.975, allocations: 0.5352 MB / 1.897 GB, free: 327.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006673/3.975, allocations: 106.5 kB / 1.898 GB, free: 327.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004093/3.98, allocations: 1.641 MB / 1.899 GB, free: 325.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/3.982, allocations: 350.8 kB / 1.9 GB, free: 325.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006169/3.988, allocations: 2.436 MB / 1.902 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/3.988, allocations: 8 kB / 1.902 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/3.988, allocations: 0 / 1.902 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/3.988, allocations: 9.094 kB / 1.902 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/4.004, allocations: 5.642 MB / 1.907 GB, free: 318.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/4.004, allocations: 0 / 1.907 GB, free: 318.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/4.005, allocations: 159.8 kB / 1.908 GB, free: 318.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/4.005, allocations: 8 kB / 1.908 GB, free: 318.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/4.005, allocations: 29.39 kB / 1.908 GB, free: 318.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/4.005, allocations: 4.547 kB / 1.908 GB, free: 318.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/4.005, allocations: 0 / 1.908 GB, free: 318.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00586/4.011, allocations: 2.277 MB / 1.91 GB, free: 316.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003824/4.015, allocations: 1.226 MB / 1.911 GB, free: 315.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/4.017, allocations: 24 kB / 1.911 GB, free: 315.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004041/4.021, allocations: 307.9 kB / 1.911 GB, free: 314.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/4.021, allocations: 68.84 kB / 1.911 GB, free: 314.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/4.022, allocations: 39.98 kB / 1.911 GB, free: 314.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.3189/4.341, allocations: 305.4 MB / 2.21 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.104e-06/4.341, allocations: 0 / 2.21 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006246/4.347, allocations: 1.169 MB / 2.211 GB, free: 8.191 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003863/4.351, allocations: 0.9002 MB / 2.212 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007282/4.358, allocations: 4.022 MB / 2.216 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/4.358, allocations: 11.84 kB / 2.216 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002985/4.361, allocations: 1.958 MB / 2.218 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/4.365, allocations: 417.5 kB / 2.218 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7011/5.067, allocations: 8.24 MB / 2.226 GB, free: 370.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006173/5.073, allocations: 2.386 MB / 2.228 GB, free: 369.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006329/5.079, allocations: 1.265 MB / 2.23 GB, free: 369.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003396/5.083, allocations: 482.3 kB / 2.23 GB, free: 369.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.633e-06/5.083, allocations: 0 / 2.23 GB, free: 369.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.306/5.389, allocations: 151.9 MB / 2.378 GB, free: 238.7 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)