Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009072/0.0009072, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009263/0.0009263, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9725/0.9725, allocations: 177.2 MB / 204.7 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.848/1.848, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.623e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.01696/0.01697, allocations: 6.976 MB / 0.7822 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1401/0.1571, allocations: 150.6 MB / 0.9293 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.1581, allocations: 31.75 kB / 0.9294 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.1615, allocations: 1.933 MB / 0.9312 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1631, allocations: 0.8893 MB / 0.9321 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.1649, allocations: 1.103 MB / 0.9332 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.1669, allocations: 3.072 MB / 0.9362 GB, free: 152 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.1676, allocations: 0.634 MB / 0.9368 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.1689, allocations: 1.552 MB / 0.9383 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.1695, allocations: 0.8493 MB / 0.9392 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.1697, allocations: 192 kB / 0.9393 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.1725, allocations: 2.632 MB / 0.9419 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.1734, allocations: 1.907 MB / 0.9438 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005687/0.174, allocations: 0.7832 MB / 0.9445 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.1771, allocations: 3.852 MB / 0.9483 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1771, allocations: 4 kB / 0.9483 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1771, allocations: 0 / 0.9483 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.1771, allocations: 0 / 0.9483 GB, free: 3.652 MB / 0.9011 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.002343/0.1794, allocations: 2.877 MB / 0.9511 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1795, allocations: 8.75 kB / 0.9511 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1805, allocations: 432 kB / 0.9515 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.182, allocations: 1.392 MB / 0.9529 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.182, allocations: 138.4 kB / 0.953 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.1822, allocations: 192 kB / 0.9532 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/0.1832, allocations: 1.331 MB / 0.9545 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.1832, allocations: 4 kB / 0.9545 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.1833, allocations: 55.98 kB / 0.9546 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.1833, allocations: 32 kB / 0.9546 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1843, allocations: 0.8644 MB / 0.9554 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004245/0.1886, allocations: 2.728 MB / 0.9581 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.1895, allocations: 0.6869 MB / 0.9588 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.1899, allocations: 398.6 kB / 0.9592 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/0.19, allocations: 36.97 kB / 0.9592 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006441/0.1906, allocations: 0.6693 MB / 0.9598 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=128): time 2.725e-06/0.1906, allocations: 0 / 0.9598 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128): time 0.001487/0.1921, allocations: 1.385 MB / 0.9612 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.1923, allocations: 322.5 kB / 0.9615 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.1936, allocations: 1.525 MB / 0.963 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.1937, allocations: 81.7 kB / 0.9631 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.1941, allocations: 0.6194 MB / 0.9637 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.1943, allocations: 432.2 kB / 0.9641 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/0.1956, allocations: 1.77 MB / 0.9658 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.1957, allocations: 301.1 kB / 0.9661 GB, free: 0.9766 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.1981, allocations: 3.175 MB / 0.9692 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.2006, allocations: 3.565 MB / 0.9727 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/0.2054, allocations: 6.847 MB / 0.9794 GB, free: 2.898 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.2054, allocations: 4 kB / 0.9794 GB, free: 2.895 MB / 0.9323 GB Notification: Performance of matching and sorting (n=809) (initialization): time 0.01881/0.2242, allocations: 15.28 MB / 0.9943 GB, free: 3.426 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.2244, allocations: 152.3 kB / 0.9944 GB, free: 3.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.2244, allocations: 12 kB / 0.9945 GB, free: 3.262 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.2244, allocations: 20 kB / 0.9945 GB, free: 3.242 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.2257, allocations: 0.5109 MB / 0.995 GB, free: 2.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.2258, allocations: 35.8 kB / 0.995 GB, free: 2.695 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.2267, allocations: 268 kB / 0.9953 GB, free: 2.434 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.2268, allocations: 83.95 kB / 0.9953 GB, free: 2.352 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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 (305): * Single equations (assignments): 291 * 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.002506/0.2293, allocations: 393.7 kB / 0.9957 GB, free: 1.949 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2295, allocations: 131.9 kB / 0.9958 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2307, allocations: 1.328 MB / 0.9971 GB, free: 476 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.2307, allocations: 12 kB / 0.9971 GB, free: 464 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2307, allocations: 0 / 0.9971 GB, free: 464 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2307, allocations: 7.922 kB / 0.9972 GB, free: 456 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.2327, allocations: 2.173 MB / 0.9993 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2327, allocations: 0 / 0.9993 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.2331, allocations: 167.8 kB / 0.9994 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2331, allocations: 4 kB / 0.9994 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.2331, allocations: 35.91 kB / 0.9995 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2331, allocations: 4 kB / 0.9995 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2331, allocations: 0 / 0.9995 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2341, allocations: 1.322 MB / 1.001 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.2344, allocations: 266.3 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2345, allocations: 39.94 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.2348, allocations: 47.95 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2349, allocations: 80.86 kB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.235, allocations: 39.97 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005497/0.2355, allocations: 0.7636 MB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.2355, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001717/0.2372, allocations: 1.244 MB / 1.003 GB, free: 10.2 MB / 0.9636 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.001909/0.2391, allocations: 1.213 MB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002643/0.2418, allocations: 4.406 MB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/0.2418, allocations: 16 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.2423, allocations: 0.795 MB / 1.009 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.243, allocations: 373.4 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.2483, allocations: 6.684 MB / 1.016 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.2488, allocations: 0.7329 MB / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005043/0.2493, allocations: 300.6 kB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/0.25, allocations: 469 kB / 1.018 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of SimCode: time 7.91e-07/0.25, allocations: 0 / 1.018 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of Templates: time 0.04592/0.296, allocations: 41.03 MB / 1.058 GB, free: 2.746 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.487086016684771]