Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8602/0.8602, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.721/1.721, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.633e-05, allocations: 5.234 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00654/0.006566, allocations: 7.549 MB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5821/0.5887, allocations: 140.7 MB / 1.146 GB, free: 8.055 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.5899, allocations: 57.88 kB / 1.146 GB, free: 8.023 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003898/0.5938, allocations: 2.106 MB / 1.148 GB, free: 7.164 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.5958, allocations: 1.317 MB / 1.149 GB, free: 6.371 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.5985, allocations: 1.592 MB / 1.151 GB, free: 5.551 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003526/0.602, allocations: 4.543 MB / 1.155 GB, free: 3.371 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.6031, allocations: 0.7919 MB / 1.156 GB, free: 2.91 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.6054, allocations: 2.19 MB / 1.158 GB, free: 1.91 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.6069, allocations: 1.402 MB / 1.159 GB, free: 1.457 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003328/0.6072, allocations: 300.3 kB / 1.16 GB, free: 1.457 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.6116, allocations: 2.845 MB / 1.162 GB, free: 0.7812 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.003124/0.6147, allocations: 4.367 MB / 1.167 GB, free: 15.55 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.6158, allocations: 1.158 MB / 1.168 GB, free: 14.98 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.6227, allocations: 6.867 MB / 1.175 GB, free: 12.65 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6227, allocations: 0 / 1.175 GB, free: 12.65 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6227, allocations: 0 / 1.175 GB, free: 12.65 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.662e-05/0.6228, allocations: 4 kB / 1.175 GB, free: 12.64 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005172/0.6279, allocations: 4.245 MB / 1.179 GB, free: 10.11 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.628, allocations: 9.344 kB / 1.179 GB, free: 10.11 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.6293, allocations: 0.5122 MB / 1.179 GB, free: 9.902 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008814/0.6381, allocations: 12.3 MB / 1.191 GB, free: 5.578 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.6382, allocations: 176.1 kB / 1.191 GB, free: 5.5 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.6385, allocations: 249 kB / 1.192 GB, free: 5.414 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.6411, allocations: 2.8 MB / 1.194 GB, free: 3.52 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.6411, allocations: 0 / 1.194 GB, free: 3.52 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6412, allocations: 66.75 kB / 1.194 GB, free: 3.473 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.6412, allocations: 37.5 kB / 1.194 GB, free: 3.473 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.6435, allocations: 2.337 MB / 1.197 GB, free: 2.387 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.6549, allocations: 14.18 MB / 1.211 GB, free: 5.188 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.657, allocations: 1.652 MB / 1.212 GB, free: 3.523 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008953/0.6579, allocations: 0.9352 MB / 1.213 GB, free: 2.582 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.838e-05/0.6579, allocations: 34.47 kB / 1.213 GB, free: 2.547 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.6593, allocations: 1.618 MB / 1.215 GB, free: 0.832 MB / 1.042 GB Notification: Performance of pre-optimization done (n=148): time 2.715e-06/0.6593, allocations: 0 / 1.215 GB, free: 0.832 MB / 1.042 GB Notification: Performance of matching and sorting (n=148): time 0.003756/0.663, allocations: 3.39 MB / 1.218 GB, free: 13.41 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.6632, allocations: 346.5 kB / 1.218 GB, free: 13.02 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02083/0.684, allocations: 20.54 MB / 1.238 GB, free: 8.453 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003779/0.6844, allocations: 97.69 kB / 1.239 GB, free: 8.352 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.6854, allocations: 1.192 MB / 1.24 GB, free: 7.152 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.6857, allocations: 0.4997 MB / 1.24 GB, free: 6.648 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002547/0.6883, allocations: 5.035 MB / 1.245 GB, free: 1.59 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 6.185e-05/0.6883, allocations: 305.1 kB / 1.245 GB, free: 1.289 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02192/0.7103, allocations: 38.63 MB / 1.283 GB, free: 10.64 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0228/0.7331, allocations: 40.16 MB / 1.322 GB, free: 2.188 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02763/0.7607, allocations: 47.51 MB / 1.369 GB, free: 2.207 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-05/0.7607, allocations: 8 kB / 1.369 GB, free: 2.199 MB / 1.198 GB Notification: Performance of matching and sorting (n=1868) (initialization): time 0.05925/0.82, allocations: 91.18 MB / 1.458 GB, free: 6.594 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.8201, allocations: 175.8 kB / 1.458 GB, free: 6.418 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.8202, allocations: 16.12 kB / 1.458 GB, free: 6.402 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.8205, allocations: 120.7 kB / 1.458 GB, free: 6.281 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.8222, allocations: 0.6272 MB / 1.459 GB, free: 5.656 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.8235, allocations: 1.549 MB / 1.46 GB, free: 4 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.8253, allocations: 374.5 kB / 1.461 GB, free: 3.637 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.8255, allocations: 155.9 kB / 1.461 GB, free: 3.484 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,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 (412): * Single equations (assignments): 371 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002477/0.828, allocations: 2.498 MB / 1.463 GB, free: 0.9688 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/0.8285, allocations: 274 kB / 1.463 GB, free: 0.6992 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/0.8318, allocations: 3.022 MB / 1.466 GB, free: 13.65 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.8318, allocations: 15.98 kB / 1.466 GB, free: 13.64 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.8318, allocations: 6.875 kB / 1.466 GB, free: 13.63 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.8318, allocations: 3.984 kB / 1.466 GB, free: 13.63 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.8368, allocations: 4.902 MB / 1.471 GB, free: 8.652 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.8368, allocations: 0 / 1.471 GB, free: 8.652 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.8373, allocations: 211.7 kB / 1.471 GB, free: 8.445 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.8375, allocations: 76.78 kB / 1.471 GB, free: 8.367 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.8376, allocations: 47.06 kB / 1.471 GB, free: 8.324 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.8387, allocations: 1.52 MB / 1.473 GB, free: 6.699 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8387, allocations: 4.812 kB / 1.473 GB, free: 6.695 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.8415, allocations: 2.98 MB / 1.476 GB, free: 3.676 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/0.8421, allocations: 0.4898 MB / 1.476 GB, free: 3.184 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.8423, allocations: 39.94 kB / 1.476 GB, free: 3.145 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.8429, allocations: 87.91 kB / 1.476 GB, free: 3.059 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.843, allocations: 109.1 kB / 1.477 GB, free: 2.953 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/0.8431, allocations: 69.16 kB / 1.477 GB, free: 2.887 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.007162/0.8503, allocations: 12.75 MB / 1.489 GB, free: 6.129 MB / 1.323 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8503, allocations: 0 / 1.489 GB, free: 6.129 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.004268/0.8546, allocations: 1.817 MB / 1.491 GB, free: 4.312 MB / 1.323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002077/0.8566, allocations: 1.151 MB / 1.492 GB, free: 3.371 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.02457/0.8812, allocations: 40.98 MB / 1.532 GB, free: 10.34 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8812, allocations: 4 kB / 1.532 GB, free: 10.34 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.8828, allocations: 1.62 MB / 1.534 GB, free: 8.688 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.8846, allocations: 472.7 kB / 1.534 GB, free: 8.242 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009483/0.8941, allocations: 9.945 MB / 1.544 GB, free: 14.25 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.8951, allocations: 1.482 MB / 1.545 GB, free: 12.74 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/0.8958, allocations: 240.4 kB / 1.545 GB, free: 12.51 MB / 1.385 GB Notification: Performance of SimCode: time 1.493e-06/0.8958, allocations: 0 / 1.545 GB, free: 12.51 MB / 1.385 GB Notification: Performance of Templates: time 0.4706/1.366, allocations: 101.1 MB / 1.644 GB, free: 459.2 MB / 1.401 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 13.267302196472883] Failed to read output from testmodel.py, exit status != 0: 1.3720629373565316 1.378787522 0.754691208 Calling exit ...