Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.675/2.675, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001519/0.001518, allocations: 184.8 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.108/2.108, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.002009/0.002008, allocations: 102 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004951, allocations: 13.42 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008764/0.2212, allocations: 5.967 MB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8553/1.077, allocations: 131.9 MB / 1.113 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/1.078, allocations: 32 kB / 1.113 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006015/1.084, allocations: 1.426 MB / 1.114 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004008/1.088, allocations: 0.9302 MB / 1.115 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/1.093, allocations: 0.9965 MB / 1.116 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006229/1.099, allocations: 2.642 MB / 1.119 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/1.101, allocations: 0.9807 MB / 1.12 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/1.105, allocations: 1.24 MB / 1.121 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/1.108, allocations: 1.038 MB / 1.122 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008248/1.109, allocations: 63.19 kB / 1.122 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00599/1.115, allocations: 1.883 MB / 1.124 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005958/1.121, allocations: 4.54 MB / 1.128 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003879/1.125, allocations: 1.233 MB / 1.129 GB, free: 0 / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02635/1.152, allocations: 15.11 MB / 1.144 GB, free: 9.059 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/1.152, allocations: 0 / 1.144 GB, free: 9.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.033e-06/1.152, allocations: 3.984 kB / 1.144 GB, free: 9.055 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004627/1.152, allocations: 0 / 1.144 GB, free: 9.055 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.04594/1.198, allocations: 11.31 MB / 1.155 GB, free: 3.227 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.198, allocations: 10.19 kB / 1.155 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008288/1.207, allocations: 0.9162 MB / 1.156 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.758/3.965, allocations: 0.9547 GB / 2.111 GB, free: 77.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/3.965, allocations: 169.2 kB / 2.111 GB, free: 77.03 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009136/3.966, allocations: 224 kB / 2.111 GB, free: 76.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/3.972, allocations: 1.997 MB / 2.113 GB, free: 74.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.462e-05/3.972, allocations: 3.938 kB / 2.113 GB, free: 74.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/3.972, allocations: 64 kB / 2.113 GB, free: 74.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/3.972, allocations: 37.55 kB / 2.113 GB, free: 74.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005825/3.978, allocations: 2.134 MB / 2.115 GB, free: 72.51 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.16/5.138, allocations: 242.4 MB / 2.352 GB, free: 222.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/5.143, allocations: 1.504 MB / 2.354 GB, free: 221 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/5.144, allocations: 38.5 kB / 2.354 GB, free: 220.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00372/5.147, allocations: 1.014 MB / 2.355 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 1.268e-05/5.148, allocations: 0 / 2.355 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126): time 0.0204/5.168, allocations: 3.495 MB / 2.358 GB, free: 216.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004064/5.168, allocations: 362.5 kB / 2.358 GB, free: 216.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.389/9.557, allocations: 1.182 GB / 3.541 GB, free: 153.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008612/9.558, allocations: 86.25 kB / 3.541 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01029/9.568, allocations: 3.702 MB / 3.545 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000778/9.569, allocations: 422.1 kB / 3.545 GB, free: 150 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/9.57, allocations: 56 kB / 3.545 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003457/9.57, allocations: 439.8 kB / 3.545 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/9.574, allocations: 1.617 MB / 3.547 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005135/9.579, allocations: 2.559 MB / 3.55 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/9.584, allocations: 2.146 MB / 3.552 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-05/9.585, allocations: 8 kB / 3.552 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.0192/9.604, allocations: 5.343 MB / 3.557 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002606/9.604, allocations: 208.6 kB / 3.557 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.185e-05/9.604, allocations: 28 kB / 3.557 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009988/9.605, allocations: 133 kB / 3.557 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/9.61, allocations: 0.5889 MB / 3.558 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/9.613, allocations: 1.593 MB / 3.559 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/9.625, allocations: 1.175 MB / 3.56 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009372/9.626, allocations: 136 kB / 3.561 GB, free: 133.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (329): * Single equations (assignments): 327 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009834/9.636, allocations: 3.825 MB / 3.564 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006403/9.642, allocations: 0.74 MB / 3.565 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/9.653, allocations: 3.71 MB / 3.569 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/9.653, allocations: 12 kB / 3.569 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/9.653, allocations: 0 / 3.569 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/9.653, allocations: 7.969 kB / 3.569 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03761/9.691, allocations: 11.71 MB / 3.58 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/9.691, allocations: 0 / 3.58 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/9.693, allocations: 201.8 kB / 3.58 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008557/9.694, allocations: 86.25 kB / 3.58 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/9.694, allocations: 39.92 kB / 3.58 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/9.696, allocations: 1.555 MB / 3.582 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/9.696, allocations: 3.953 kB / 3.582 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/9.709, allocations: 3.285 MB / 3.585 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01103/9.72, allocations: 3.136 MB / 3.588 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006037/9.726, allocations: 27.95 kB / 3.588 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01067/9.737, allocations: 0.7705 MB / 3.589 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/9.737, allocations: 88.62 kB / 3.589 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/9.738, allocations: 63.97 kB / 3.589 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.31/13.05, allocations: 0.9476 GB / 4.537 GB, free: 263.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.92e-07/13.05, allocations: 0 / 4.537 GB, free: 263.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01814/13.07, allocations: 1.804 MB / 4.539 GB, free: 262.3 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006107/13.07, allocations: 0.9583 MB / 4.539 GB, free: 261.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0146/13.09, allocations: 5.075 MB / 4.544 GB, free: 257.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/13.09, allocations: 4 kB / 4.544 GB, free: 257 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/13.09, allocations: 2.402 MB / 4.547 GB, free: 254.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008642/13.1, allocations: 0.7445 MB / 4.548 GB, free: 254.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04781/13.15, allocations: 18.39 MB / 4.565 GB, free: 236.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01517/13.16, allocations: 4.761 MB / 4.57 GB, free: 231.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01955/13.18, allocations: 3.019 MB / 4.573 GB, free: 228.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008868/13.19, allocations: 1.194 MB / 4.574 GB, free: 227.6 MB / 0.9636 GB Notification: Performance of SimCode: time 1.543e-06/13.19, allocations: 4 kB / 4.574 GB, free: 227.6 MB / 0.9636 GB Notification: Performance of Templates: time 1.604/14.8, allocations: 427.2 MB / 4.991 GB, free: 186.1 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)