Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008013/0.0008013, 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.0007896/0.0007896, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9117/0.9117, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.729/1.729, allocations: 377.9 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.18e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007354/0.007386, allocations: 6.501 MB / 0.9886 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.6094/0.6168, allocations: 137.2 MB / 1.123 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.6179, allocations: 33.91 kB / 1.123 GB, free: 16.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003979/0.6218, allocations: 1.922 MB / 1.124 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.6237, allocations: 0.8977 MB / 1.125 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.6264, allocations: 1.128 MB / 1.126 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003165/0.6296, allocations: 3.08 MB / 1.129 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.6304, allocations: 0.5971 MB / 1.13 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.6321, allocations: 1.49 MB / 1.131 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.6332, allocations: 0.9151 MB / 1.132 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.6335, allocations: 202.6 kB / 1.133 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003913/0.6375, allocations: 2.487 MB / 1.135 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.6388, allocations: 1.915 MB / 1.137 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009409/0.6397, allocations: 0.8025 MB / 1.138 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.6471, allocations: 4.921 MB / 1.142 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6471, allocations: 0 / 1.142 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6471, allocations: 1.062 kB / 1.142 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.326e-05/0.6472, allocations: 0 / 1.142 GB, free: 8.648 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.005528/0.6528, allocations: 3.019 MB / 1.145 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6528, allocations: 9.438 kB / 1.145 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.654, allocations: 385.3 kB / 1.146 GB, free: 6.648 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/0.6585, allocations: 4.548 MB / 1.15 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/0.6586, allocations: 137.6 kB / 1.15 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.6588, allocations: 193.4 kB / 1.151 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.6609, allocations: 1.868 MB / 1.152 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.6609, allocations: 1.594 kB / 1.152 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/0.661, allocations: 51.59 kB / 1.152 GB, free: 3.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.661, allocations: 32.62 kB / 1.152 GB, free: 3.977 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.663, allocations: 1.617 MB / 1.154 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007668/0.6706, allocations: 6.421 MB / 1.16 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6723, allocations: 1.285 MB / 1.162 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007431/0.673, allocations: 0.7308 MB / 1.162 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.6731, allocations: 30.02 kB / 1.162 GB, free: 0.5664 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.6741, allocations: 1.011 MB / 1.163 GB, free: 180 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=128): time 2.746e-06/0.6741, allocations: 5.219 kB / 1.163 GB, free: 176 kB / 0.9948 GB Notification: Performance of matching and sorting (n=128): time 0.003321/0.6774, allocations: 2.559 MB / 1.166 GB, free: 15.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.6776, allocations: 336.7 kB / 1.166 GB, free: 15.08 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0071/0.6847, allocations: 7.326 MB / 1.173 GB, free: 13.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004781/0.6852, allocations: 81.89 kB / 1.173 GB, free: 13.14 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007088/0.6859, allocations: 0.8084 MB / 1.174 GB, free: 12.53 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.6862, allocations: 434.7 kB / 1.175 GB, free: 12.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.6874, allocations: 1.933 MB / 1.176 GB, free: 11.38 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.6875, allocations: 307.3 kB / 1.177 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008322/0.6958, allocations: 12.95 MB / 1.189 GB, free: 5.227 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/0.7063, allocations: 13.79 MB / 1.203 GB, free: 8.004 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.7178, allocations: 16.78 MB / 1.219 GB, free: 7.051 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/0.7178, allocations: 7.938 kB / 1.219 GB, free: 7.043 MB / 1.042 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02406/0.7418, allocations: 31.22 MB / 1.25 GB, free: 7.621 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.7421, allocations: 157.6 kB / 1.25 GB, free: 7.461 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.7421, allocations: 12 kB / 1.25 GB, free: 7.449 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/0.7421, allocations: 20 kB / 1.25 GB, free: 7.43 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.7437, allocations: 487.2 kB / 1.25 GB, free: 6.953 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/0.7437, allocations: 35.86 kB / 1.25 GB, free: 6.918 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.7451, allocations: 287.8 kB / 1.251 GB, free: 6.637 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.7453, allocations: 115.9 kB / 1.251 GB, free: 6.527 MB / 1.073 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.001799/0.7471, allocations: 1.221 MB / 1.252 GB, free: 5.293 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/0.7475, allocations: 186.7 kB / 1.252 GB, free: 5.109 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.75, allocations: 2.365 MB / 1.254 GB, free: 2.727 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.75, allocations: 8.688 kB / 1.254 GB, free: 2.719 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.75, allocations: 7.938 kB / 1.254 GB, free: 2.711 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.75, allocations: 11.91 kB / 1.254 GB, free: 2.699 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.7541, allocations: 3.719 MB / 1.258 GB, free: 14.92 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.7541, allocations: 3.984 kB / 1.258 GB, free: 14.91 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.7545, allocations: 167.4 kB / 1.258 GB, free: 14.75 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.7545, allocations: 7.938 kB / 1.258 GB, free: 14.75 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.7546, allocations: 39.97 kB / 1.258 GB, free: 14.71 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.7546, allocations: 4 kB / 1.258 GB, free: 14.7 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7546, allocations: 0 / 1.258 GB, free: 14.7 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.7569, allocations: 2.34 MB / 1.261 GB, free: 12.34 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.7574, allocations: 354.2 kB / 1.261 GB, free: 11.99 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7576, allocations: 43.94 kB / 1.261 GB, free: 11.95 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.758, allocations: 75.92 kB / 1.261 GB, free: 11.87 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.7582, allocations: 88.84 kB / 1.261 GB, free: 11.79 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.7582, allocations: 51.97 kB / 1.261 GB, free: 11.73 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.003308/0.7615, allocations: 4.595 MB / 1.266 GB, free: 7.148 MB / 1.089 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7615, allocations: 3.938 kB / 1.266 GB, free: 7.145 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.003696/0.7652, allocations: 1.251 MB / 1.267 GB, free: 5.891 MB / 1.089 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.002265/0.7675, allocations: 1.079 MB / 1.268 GB, free: 5.02 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01093/0.7784, allocations: 14.66 MB / 1.282 GB, free: 6.336 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7784, allocations: 4.125 kB / 1.282 GB, free: 6.332 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.7796, allocations: 1.202 MB / 1.283 GB, free: 5.109 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.781, allocations: 354.5 kB / 1.284 GB, free: 4.785 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.7872, allocations: 5.585 MB / 1.289 GB, free: 15.16 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.7879, allocations: 0.9729 MB / 1.29 GB, free: 14.16 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.7885, allocations: 176.4 kB / 1.29 GB, free: 13.99 MB / 1.12 GB Notification: Performance of SimCode: time 1.443e-06/0.7885, allocations: 7.938 kB / 1.29 GB, free: 13.98 MB / 1.12 GB Notification: Performance of Templates: time 0.05102/0.8395, allocations: 48.17 MB / 1.337 GB, free: 14.77 MB / 1.167 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.087568882852793] Failed to read output from testmodel.py, exit status != 0: 0.8463457897305489 0.8543002199999999 0.205371463 Calling exit ...