Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008355/0.0008355, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007783/0.0007783, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.9026/0.9026, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.7 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.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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.552e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005574/0.00559, allocations: 6.486 MB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5597/0.5653, allocations: 137.2 MB / 1.141 GB, free: 11.09 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009996/0.5663, allocations: 33.28 kB / 1.141 GB, free: 11.07 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003397/0.5696, allocations: 1.923 MB / 1.143 GB, free: 10.33 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.5712, allocations: 0.8821 MB / 1.144 GB, free: 9.793 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.573, allocations: 1.129 MB / 1.145 GB, free: 9.211 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.5752, allocations: 3.079 MB / 1.148 GB, free: 7.766 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/0.5759, allocations: 0.6065 MB / 1.149 GB, free: 7.379 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.5773, allocations: 1.486 MB / 1.15 GB, free: 6.734 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008967/0.5782, allocations: 0.9105 MB / 1.151 GB, free: 6.441 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.5784, allocations: 208.2 kB / 1.151 GB, free: 6.438 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.5815, allocations: 2.489 MB / 1.154 GB, free: 5.836 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.5831, allocations: 1.912 MB / 1.156 GB, free: 5.211 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006763/0.5837, allocations: 0.8027 MB / 1.156 GB, free: 4.828 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.5884, allocations: 4.92 MB / 1.161 GB, free: 3.145 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5884, allocations: 1.375 kB / 1.161 GB, free: 3.145 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5884, allocations: 0 / 1.161 GB, free: 3.145 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.5884, allocations: 0 / 1.161 GB, free: 3.145 MB / 1.01 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.003325/0.5917, allocations: 3.015 MB / 1.164 GB, free: 1.301 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5918, allocations: 13.97 kB / 1.164 GB, free: 1.297 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.5928, allocations: 380.8 kB / 1.164 GB, free: 1.152 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.5966, allocations: 4.544 MB / 1.169 GB, free: 15.62 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.5967, allocations: 138.9 kB / 1.169 GB, free: 15.56 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.5969, allocations: 187.4 kB / 1.169 GB, free: 15.5 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.5988, allocations: 1.869 MB / 1.171 GB, free: 14.52 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.5988, allocations: 5.031 kB / 1.171 GB, free: 14.52 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.5989, allocations: 54.88 kB / 1.171 GB, free: 14.48 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.5989, allocations: 30.19 kB / 1.171 GB, free: 14.48 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.6009, allocations: 1.616 MB / 1.173 GB, free: 14.05 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.6071, allocations: 6.423 MB / 1.179 GB, free: 11.74 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6086, allocations: 1.28 MB / 1.18 GB, free: 11.3 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.6093, allocations: 0.7257 MB / 1.181 GB, free: 11.07 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 5.588e-05/0.6093, allocations: 27.45 kB / 1.181 GB, free: 11.07 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009228/0.6102, allocations: 1.031 MB / 1.182 GB, free: 10.65 MB / 1.026 GB Notification: Performance of pre-optimization done (n=128): time 2.345e-06/0.6102, allocations: 0 / 1.182 GB, free: 10.65 MB / 1.026 GB Notification: Performance of matching and sorting (n=128): time 0.002357/0.6126, allocations: 2.552 MB / 1.184 GB, free: 9.852 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.6127, allocations: 332.8 kB / 1.185 GB, free: 9.574 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005915/0.6187, allocations: 7.325 MB / 1.192 GB, free: 7.5 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.6188, allocations: 81.67 kB / 1.192 GB, free: 7.43 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.6195, allocations: 0.8128 MB / 1.193 GB, free: 6.734 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.6197, allocations: 432.1 kB / 1.193 GB, free: 6.363 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.6207, allocations: 1.931 MB / 1.195 GB, free: 5.113 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.6208, allocations: 301.1 kB / 1.195 GB, free: 4.816 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007662/0.6285, allocations: 12.95 MB / 1.208 GB, free: 7.852 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007778/0.6363, allocations: 13.8 MB / 1.221 GB, free: 9.844 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.6464, allocations: 16.79 MB / 1.238 GB, free: 8.785 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.6464, allocations: 1.438 kB / 1.238 GB, free: 8.785 MB / 1.073 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01932/0.6657, allocations: 31.22 MB / 1.268 GB, free: 9.363 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.6658, allocations: 165.5 kB / 1.269 GB, free: 9.195 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.6658, allocations: 15.94 kB / 1.269 GB, free: 9.18 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.6659, allocations: 20 kB / 1.269 GB, free: 9.16 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/0.6668, allocations: 487.7 kB / 1.269 GB, free: 8.684 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.6669, allocations: 27.94 kB / 1.269 GB, free: 8.656 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.6679, allocations: 289.9 kB / 1.269 GB, free: 8.371 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.668, allocations: 112 kB / 1.269 GB, free: 8.262 MB / 1.104 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.001191/0.6692, allocations: 1.221 MB / 1.271 GB, free: 7.023 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.6694, allocations: 190.7 kB / 1.271 GB, free: 6.836 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.6719, allocations: 2.346 MB / 1.273 GB, free: 4.477 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6719, allocations: 15.98 kB / 1.273 GB, free: 4.461 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6719, allocations: 0 / 1.273 GB, free: 4.461 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6719, allocations: 3.984 kB / 1.273 GB, free: 4.457 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.6755, allocations: 3.734 MB / 1.277 GB, free: 0.6602 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6755, allocations: 8 kB / 1.277 GB, free: 0.6523 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.6758, allocations: 160.6 kB / 1.277 GB, free: 0.4961 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6758, allocations: 7.938 kB / 1.277 GB, free: 500 kB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.6759, allocations: 39.97 kB / 1.277 GB, free: 460 kB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.6759, allocations: 4 kB / 1.277 GB, free: 456 kB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6759, allocations: 0 / 1.277 GB, free: 456 kB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.678, allocations: 2.334 MB / 1.279 GB, free: 14.09 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/0.6784, allocations: 358.2 kB / 1.28 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6786, allocations: 40.77 kB / 1.28 GB, free: 13.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.679, allocations: 75.92 kB / 1.28 GB, free: 13.62 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6791, allocations: 84.84 kB / 1.28 GB, free: 13.54 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.6792, allocations: 51.97 kB / 1.28 GB, free: 13.49 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.002515/0.6817, allocations: 4.599 MB / 1.284 GB, free: 8.902 MB / 1.12 GB Notification: Performance of sort global known variables: time 7e-08/0.6817, allocations: 0 / 1.284 GB, free: 8.902 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002812/0.6845, allocations: 1.251 MB / 1.286 GB, free: 7.648 MB / 1.12 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 (112): * Single equations (assignments): 99 * 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.001662/0.6862, allocations: 1.073 MB / 1.287 GB, free: 6.781 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.009285/0.6954, allocations: 14.67 MB / 1.301 GB, free: 8.086 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6955, allocations: 0 / 1.301 GB, free: 8.086 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0009431/0.6964, allocations: 1.202 MB / 1.302 GB, free: 6.867 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6974, allocations: 356.5 kB / 1.302 GB, free: 6.539 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.7027, allocations: 5.573 MB / 1.308 GB, free: 0.9258 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.7034, allocations: 0.9611 MB / 1.309 GB, free: 15.94 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.7037, allocations: 176.4 kB / 1.309 GB, free: 15.77 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/0.7037, allocations: 0 / 1.309 GB, free: 15.77 MB / 1.151 GB Notification: Performance of Templates: time 0.04483/0.7485, allocations: 48.16 MB / 1.356 GB, free: 416 kB / 1.182 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.001505141146481] Failed to read output from testmodel.py, exit status != 0: 0.7538817683234811 0.762097582 0.17188150300000002 Calling exit ...