Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.0008136/0.0008136, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007651/0.0007651, allocations: 177.9 kB / 23.22 MB, free: 1.328 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.9006/0.9006, allocations: 177.1 MB / 203.5 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.638/1.638, allocations: 359 MB / 0.6044 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.9518 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.616e-05, allocations: 10.22 kB / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006038/0.006064, allocations: 6.487 MB / 0.9581 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.5028/0.5089, allocations: 137.2 MB / 1.092 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.5101, allocations: 35.03 kB / 1.092 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004037/0.5141, allocations: 1.917 MB / 1.094 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.5163, allocations: 0.8941 MB / 1.095 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.518, allocations: 1.126 MB / 1.096 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.5204, allocations: 3.077 MB / 1.099 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.5212, allocations: 0.6048 MB / 1.1 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.5236, allocations: 1.493 MB / 1.101 GB, free: 37.94 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.5251, allocations: 0.9098 MB / 1.102 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000314/0.5255, allocations: 204.2 kB / 1.102 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/0.53, allocations: 2.489 MB / 1.104 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.5316, allocations: 1.917 MB / 1.106 GB, free: 36.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.5326, allocations: 0.8001 MB / 1.107 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.009915/0.5425, allocations: 4.923 MB / 1.112 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5425, allocations: 1.219 kB / 1.112 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5425, allocations: 0 / 1.112 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001148/0.5427, allocations: 0.6562 kB / 1.112 GB, free: 34.77 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.006024/0.5487, allocations: 3.021 MB / 1.115 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5487, allocations: 9.5 kB / 1.115 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.55, allocations: 384.8 kB / 1.115 GB, free: 32.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.5552, allocations: 4.542 MB / 1.12 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.5553, allocations: 141.4 kB / 1.12 GB, free: 31.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.5555, allocations: 193.5 kB / 1.12 GB, free: 31.17 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.5577, allocations: 1.867 MB / 1.122 GB, free: 30.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.5577, allocations: 1.641 kB / 1.122 GB, free: 30.19 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.5578, allocations: 59.77 kB / 1.122 GB, free: 30.15 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.5578, allocations: 31.25 kB / 1.122 GB, free: 30.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.5597, allocations: 1.617 MB / 1.124 GB, free: 29.71 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008195/0.5679, allocations: 6.413 MB / 1.13 GB, free: 27.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.5696, allocations: 1.288 MB / 1.131 GB, free: 27 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.5704, allocations: 0.7241 MB / 1.132 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.836e-05/0.5704, allocations: 24.19 kB / 1.132 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.5715, allocations: 1.022 MB / 1.133 GB, free: 26.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=128): time 3.978e-06/0.5715, allocations: 1.344 kB / 1.133 GB, free: 26.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=128): time 0.003437/0.575, allocations: 2.558 MB / 1.135 GB, free: 25.55 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.5751, allocations: 333.6 kB / 1.136 GB, free: 25.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00824/0.5834, allocations: 7.329 MB / 1.143 GB, free: 23.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006389/0.584, allocations: 78.58 kB / 1.143 GB, free: 23.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/0.5846, allocations: 0.8112 MB / 1.144 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.585, allocations: 433.6 kB / 1.144 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.5863, allocations: 1.93 MB / 1.146 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.878e-05/0.5863, allocations: 305.1 kB / 1.146 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007075/0.5934, allocations: 12.95 MB / 1.159 GB, free: 17.09 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008045/0.6014, allocations: 13.8 MB / 1.172 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009146/0.6106, allocations: 16.79 MB / 1.189 GB, free: 12.36 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-05/0.6106, allocations: 4 kB / 1.189 GB, free: 12.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02505/0.6357, allocations: 31.7 MB / 1.22 GB, free: 15.56 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.6359, allocations: 163.4 kB / 1.22 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.6359, allocations: 12 kB / 1.22 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.6359, allocations: 24 kB / 1.22 GB, free: 15.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.6374, allocations: 485.1 kB / 1.22 GB, free: 14.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.6374, allocations: 29.84 kB / 1.22 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.6388, allocations: 290.2 kB / 1.221 GB, free: 14.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.6389, allocations: 110.5 kB / 1.221 GB, free: 14.6 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (306): * Single equations (assignments): 292 * 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.00134/0.6403, allocations: 1.229 MB / 1.222 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.6405, allocations: 186.7 kB / 1.222 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.643, allocations: 2.348 MB / 1.224 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.643, allocations: 16 kB / 1.224 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.643, allocations: 3.938 kB / 1.224 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.643, allocations: 3.984 kB / 1.224 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.6468, allocations: 3.736 MB / 1.228 GB, free: 7.02 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6469, allocations: 0 / 1.228 GB, free: 7.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.6472, allocations: 174.9 kB / 1.228 GB, free: 6.852 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.6472, allocations: 11.94 kB / 1.228 GB, free: 6.84 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.6473, allocations: 39.97 kB / 1.228 GB, free: 6.801 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.6473, allocations: 4 kB / 1.228 GB, free: 6.797 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6473, allocations: 0 / 1.228 GB, free: 6.797 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.6496, allocations: 2.336 MB / 1.231 GB, free: 4.434 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.6501, allocations: 358.2 kB / 1.231 GB, free: 4.082 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6502, allocations: 31.95 kB / 1.231 GB, free: 4.051 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.6507, allocations: 86.66 kB / 1.231 GB, free: 3.969 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6508, allocations: 84.84 kB / 1.231 GB, free: 3.887 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/0.6509, allocations: 51.97 kB / 1.231 GB, free: 3.836 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002885/0.6538, allocations: 4.602 MB / 1.236 GB, free: 15.25 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6538, allocations: 0 / 1.236 GB, free: 15.25 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003656/0.6574, allocations: 1.246 MB / 1.237 GB, free: 14 MB / 1.057 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.conTim.tNext,weaDat.eqnTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,HDirTil.incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 12 * 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.00216/0.6596, allocations: 1.086 MB / 1.238 GB, free: 13.18 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01057/0.6701, allocations: 14.67 MB / 1.252 GB, free: 14.49 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6701, allocations: 1 kB / 1.252 GB, free: 14.49 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.6713, allocations: 1.206 MB / 1.253 GB, free: 13.27 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.6726, allocations: 348.4 kB / 1.254 GB, free: 12.95 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/0.6786, allocations: 5.593 MB / 1.259 GB, free: 7.32 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.6793, allocations: 0.9611 MB / 1.26 GB, free: 6.332 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.6798, allocations: 184.4 kB / 1.26 GB, free: 6.152 MB / 1.073 GB Notification: Performance of SimCode: time 1.343e-06/0.6798, allocations: 0 / 1.26 GB, free: 6.152 MB / 1.073 GB Notification: Performance of Templates: time 0.04933/0.7291, allocations: 48.17 MB / 1.307 GB, free: 6.918 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.245093746110797] Failed to read output from testmodel.py, exit status != 0: 0.7353191897273064 0.7428410209999999 0.19865197999999995 Calling exit ...