Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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 / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="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_10_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_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 1.028 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3395, allocations: 151.6 MB / 1.176 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009697/0.3492, allocations: 7.3 MB / 1.183 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9764/1.326, allocations: 155.5 MB / 1.335 GB, free: 6.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/1.327, allocations: 30 kB / 1.335 GB, free: 6.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006007/1.333, allocations: 1.809 MB / 1.337 GB, free: 5.672 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/1.337, allocations: 0.8429 MB / 1.337 GB, free: 5.164 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003047/1.34, allocations: 1.033 MB / 1.338 GB, free: 4.621 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004954/1.345, allocations: 3.567 MB / 1.342 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/1.346, allocations: 0.9277 MB / 1.343 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/1.348, allocations: 1.16 MB / 1.344 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/1.35, allocations: 1.054 MB / 1.345 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004254/1.351, allocations: 195.2 kB / 1.345 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/1.355, allocations: 2.241 MB / 1.347 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00209/1.358, allocations: 1.911 MB / 1.349 GB, free: 324 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002132/1.36, allocations: 1.175 MB / 1.35 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009022/1.369, allocations: 4.444 MB / 1.355 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.369, allocations: 5.094 kB / 1.355 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/1.369, allocations: 0 / 1.355 GB, free: 14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001123/1.369, allocations: 4 kB / 1.355 GB, free: 14 MB / 1.029 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.0103/1.379, allocations: 3.07 MB / 1.358 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.379, allocations: 9.969 kB / 1.358 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/1.38, allocations: 316.6 kB / 1.358 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006247/1.387, allocations: 4.594 MB / 1.363 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.387, allocations: 133.9 kB / 1.363 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/1.387, allocations: 178.4 kB / 1.363 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/1.39, allocations: 1.665 MB / 1.364 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/1.39, allocations: 3.938 kB / 1.364 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/1.39, allocations: 53.67 kB / 1.365 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/1.39, allocations: 31.03 kB / 1.365 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/1.394, allocations: 1.726 MB / 1.366 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/1.407, allocations: 7.388 MB / 1.373 GB, free: 4.082 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/1.409, allocations: 1.582 MB / 1.375 GB, free: 3.328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/1.411, allocations: 1.037 MB / 1.376 GB, free: 2.836 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.025e-05/1.411, allocations: 38.2 kB / 1.376 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/1.412, allocations: 0.9828 MB / 1.377 GB, free: 2.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=118): time 3.737e-06/1.412, allocations: 0 / 1.377 GB, free: 2.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=118): time 0.004609/1.417, allocations: 2.843 MB / 1.38 GB, free: 1.285 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002565/1.417, allocations: 347.8 kB / 1.38 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.428, allocations: 7.39 MB / 1.387 GB, free: 10.99 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0006656/1.429, allocations: 77.64 kB / 1.387 GB, free: 10.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.43, allocations: 0.8013 MB / 1.388 GB, free: 10.1 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/1.43, allocations: 408.5 kB / 1.389 GB, free: 9.699 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/1.432, allocations: 1.919 MB / 1.39 GB, free: 7.766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.432, allocations: 301.1 kB / 1.391 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01354/1.446, allocations: 12.99 MB / 1.403 GB, free: 10.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01535/1.461, allocations: 13.7 MB / 1.417 GB, free: 12.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01877/1.48, allocations: 17.1 MB / 1.434 GB, free: 11.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.232e-05/1.48, allocations: 4 kB / 1.434 GB, free: 11.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03712/1.517, allocations: 31.29 MB / 1.464 GB, free: 11.74 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003006/1.518, allocations: 181.6 kB / 1.464 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.518, allocations: 12 kB / 1.464 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.625e-05/1.518, allocations: 28.28 kB / 1.464 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/1.52, allocations: 475.3 kB / 1.465 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.395e-05/1.52, allocations: 35.86 kB / 1.465 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/1.522, allocations: 294 kB / 1.465 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/1.523, allocations: 104 kB / 1.465 GB, free: 10.64 MB / 1.123 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.001906/1.524, allocations: 1.243 MB / 1.466 GB, free: 9.379 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/1.525, allocations: 186.7 kB / 1.467 GB, free: 9.195 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/1.529, allocations: 2.738 MB / 1.469 GB, free: 6.445 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.529, allocations: 12 kB / 1.469 GB, free: 6.434 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.529, allocations: 7.938 kB / 1.469 GB, free: 6.426 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.53, allocations: 3.984 kB / 1.469 GB, free: 6.422 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.532, allocations: 1.481 MB / 1.471 GB, free: 4.883 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.532, allocations: 7.938 kB / 1.471 GB, free: 4.875 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/1.533, allocations: 159.8 kB / 1.471 GB, free: 4.719 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.533, allocations: 4 kB / 1.471 GB, free: 4.715 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/1.533, allocations: 35.97 kB / 1.471 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.533, allocations: 0 / 1.471 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.533, allocations: 4 kB / 1.471 GB, free: 4.676 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/1.537, allocations: 2.645 MB / 1.473 GB, free: 2.004 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000901/1.538, allocations: 451.3 kB / 1.474 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/1.538, allocations: 27.94 kB / 1.474 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/1.539, allocations: 75.92 kB / 1.474 GB, free: 1.441 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/1.539, allocations: 76.89 kB / 1.474 GB, free: 1.363 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.54, allocations: 55.97 kB / 1.474 GB, free: 1.309 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.005516/1.545, allocations: 4.644 MB / 1.479 GB, free: 12.64 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.91e-07/1.545, allocations: 0 / 1.479 GB, free: 12.64 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004972/1.55, allocations: 1.224 MB / 1.48 GB, free: 11.41 MB / 1.139 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.003651/1.554, allocations: 0.9654 MB / 1.481 GB, free: 10.64 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02199/1.576, allocations: 18.97 MB / 1.499 GB, free: 7.648 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.576, allocations: 3.906 kB / 1.499 GB, free: 7.648 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/1.579, allocations: 2.239 MB / 1.502 GB, free: 5.395 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.581, allocations: 371.5 kB / 1.502 GB, free: 5.043 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009727/1.591, allocations: 5.576 MB / 1.507 GB, free: 15.44 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.592, allocations: 1.529 MB / 1.509 GB, free: 13.89 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/1.593, allocations: 171.4 kB / 1.509 GB, free: 13.72 MB / 1.17 GB Notification: Performance of SimCode: time 8.11e-07/1.593, allocations: 0 / 1.509 GB, free: 13.72 MB / 1.17 GB Notification: Performance of Templates: time 0.1087/1.702, allocations: 46.65 MB / 1.555 GB, free: 15.82 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 18.180777177913114] Failed to read output from testmodel.py, exit status != 0: 1.7107166569912806 1.732408471 0.359660698 Calling exit ...