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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001373/0.001373, allocations: 191.7 kB / 16.13 MB, free: 6.711 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.53 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3959, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009297/0.4053, allocations: 7.224 MB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1888/0.5942, allocations: 153.5 MB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.5962, allocations: 23.88 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005407/0.6016, allocations: 1.659 MB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.6048, allocations: 0.7422 MB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.6075, allocations: 0.8989 MB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004391/0.6119, allocations: 3.492 MB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.6138, allocations: 0.8866 MB / 1.232 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.6164, allocations: 1.035 MB / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.6187, allocations: 1.031 MB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.6191, allocations: 104 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.624, allocations: 2.017 MB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.6256, allocations: 1.833 MB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.6269, allocations: 1.076 MB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.6334, allocations: 4.258 MB / 1.243 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6334, allocations: 0 / 1.243 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6334, allocations: 0 / 1.243 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.328e-05/0.6335, allocations: 0 / 1.243 GB, free: 6.457 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.005864/0.6393, allocations: 2.993 MB / 1.246 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6394, allocations: 12.03 kB / 1.246 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.6403, allocations: 301.8 kB / 1.246 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.738/1.378, allocations: 4.548 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/1.378, allocations: 135.7 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/1.379, allocations: 182.6 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/1.382, allocations: 1.663 MB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/1.382, allocations: 5.469 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.382, allocations: 55.06 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/1.382, allocations: 29.5 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/1.385, allocations: 1.728 MB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009474/1.394, allocations: 7.411 MB / 1.262 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.396, allocations: 1.583 MB / 1.263 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.398, allocations: 1.031 MB / 1.264 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.721e-05/1.398, allocations: 40.03 kB / 1.264 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/1.399, allocations: 0.9829 MB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.096e-06/1.399, allocations: 1.156 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004882/1.404, allocations: 2.839 MB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.404, allocations: 348.4 kB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009698/1.414, allocations: 7.382 MB / 1.276 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003856/1.414, allocations: 69.61 kB / 1.276 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006514/1.415, allocations: 0.7915 MB / 1.276 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/1.415, allocations: 392.2 kB / 1.277 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/1.417, allocations: 1.885 MB / 1.279 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/1.417, allocations: 310.1 kB / 1.279 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/1.427, allocations: 12.99 MB / 1.292 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00974/1.437, allocations: 13.7 MB / 1.305 GB, free: 155 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.448, allocations: 17.11 MB / 1.322 GB, free: 138 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/1.449, allocations: 5.812 kB / 1.322 GB, free: 138 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02293/1.471, allocations: 31.26 MB / 1.352 GB, free: 106.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.472, allocations: 177.6 kB / 1.352 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/1.472, allocations: 12 kB / 1.352 GB, free: 106.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/1.472, allocations: 24 kB / 1.352 GB, free: 106.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/1.474, allocations: 471.3 kB / 1.353 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/1.474, allocations: 35.86 kB / 1.353 GB, free: 105.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.475, allocations: 286.9 kB / 1.353 GB, free: 105.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.476, allocations: 107.9 kB / 1.353 GB, free: 105.4 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.001163/1.477, allocations: 1.231 MB / 1.354 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/1.477, allocations: 185.5 kB / 1.355 GB, free: 104 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/1.48, allocations: 2.75 MB / 1.357 GB, free: 101.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.48, allocations: 8 kB / 1.357 GB, free: 101.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.48, allocations: 0 / 1.357 GB, free: 101.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.48, allocations: 7.969 kB / 1.357 GB, free: 101.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/1.482, allocations: 1.479 MB / 1.359 GB, free: 99.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.482, allocations: 0 / 1.359 GB, free: 99.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/1.482, allocations: 159.8 kB / 1.359 GB, free: 99.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.482, allocations: 4 kB / 1.359 GB, free: 99.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/1.482, allocations: 39.97 kB / 1.359 GB, free: 99.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/1.482, allocations: 4 kB / 1.359 GB, free: 99.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.482, allocations: 0 / 1.359 GB, free: 99.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/1.485, allocations: 2.64 MB / 1.362 GB, free: 96.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/1.486, allocations: 426.2 kB / 1.362 GB, free: 96.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/1.486, allocations: 24 kB / 1.362 GB, free: 96.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/1.487, allocations: 98.38 kB / 1.362 GB, free: 96.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.487, allocations: 76.89 kB / 1.362 GB, free: 96.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/1.487, allocations: 55.86 kB / 1.362 GB, free: 96.17 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002883/1.49, allocations: 4.648 MB / 1.367 GB, free: 91.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.49, allocations: 8 kB / 1.367 GB, free: 91.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00272/1.493, allocations: 1.215 MB / 1.368 GB, free: 90.36 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.002149/1.495, allocations: 0.943 MB / 1.369 GB, free: 89.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.507, allocations: 18.96 MB / 1.387 GB, free: 70.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.507, allocations: 4.125 kB / 1.387 GB, free: 70.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.509, allocations: 2.244 MB / 1.39 GB, free: 68.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.511, allocations: 340.5 kB / 1.39 GB, free: 68.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008969/1.52, allocations: 9.593 MB / 1.399 GB, free: 58.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/1.521, allocations: 2.359 MB / 1.402 GB, free: 56.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001351/1.523, allocations: 447.8 kB / 1.402 GB, free: 55.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/1.523, allocations: 167.3 kB / 1.402 GB, free: 55.57 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.523, allocations: 0 / 1.402 GB, free: 55.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.07124/1.594, allocations: 35.32 MB / 1.437 GB, free: 20.46 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)