Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.0009335/0.0009335, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001416/0.001416, allocations: 167 kB / 25.05 MB, free: 9.152 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.9639/0.9639, allocations: 177.1 MB / 205.5 MB, free: 5.461 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.928/1.928, allocations: 389.6 MB / 0.6363 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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.7762 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.479e-05, allocations: 4.125 kB / 0.7762 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.011/0.01102, allocations: 8.093 MB / 0.7841 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1489/0.1599, allocations: 154.4 MB / 0.9348 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.1614, allocations: 51.62 kB / 0.9349 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.1659, allocations: 2.127 MB / 0.937 GB, free: 156 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.1687, allocations: 1.344 MB / 0.9383 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.1713, allocations: 1.524 MB / 0.9398 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004285/0.1756, allocations: 4.55 MB / 0.9442 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.1768, allocations: 0.8159 MB / 0.945 GB, free: 7.832 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.18, allocations: 2.382 MB / 0.9473 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.1817, allocations: 1.301 MB / 0.9486 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0006392/0.1824, allocations: 284 kB / 0.9489 GB, free: 3.863 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004225/0.1866, allocations: 3.01 MB / 0.9518 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002468/0.1891, allocations: 4.366 MB / 0.9561 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.1904, allocations: 1.126 MB / 0.9572 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.006734/0.1972, allocations: 5.063 MB / 0.9621 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1972, allocations: 0 / 0.9621 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.395e-06/0.1972, allocations: 0 / 0.9621 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001058/0.1973, allocations: 0 / 0.9621 GB, free: 6.27 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004553/0.2018, allocations: 4.011 MB / 0.966 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2019, allocations: 13.62 kB / 0.966 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.2032, allocations: 0.5583 MB / 0.9666 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.2059, allocations: 2.469 MB / 0.969 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.891e-05/0.206, allocations: 179.1 kB / 0.9692 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.2062, allocations: 252 kB / 0.9694 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.2079, allocations: 1.891 MB / 0.9713 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2079, allocations: 0 / 0.9713 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.208, allocations: 64 kB / 0.9713 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.208, allocations: 40 kB / 0.9714 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.2091, allocations: 1.034 MB / 0.9724 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005454/0.2146, allocations: 4.22 MB / 0.9765 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2156, allocations: 0.8826 MB / 0.9773 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.2162, allocations: 462.6 kB / 0.9778 GB, free: 5.75 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.2163, allocations: 36.97 kB / 0.9778 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008131/0.2171, allocations: 1.101 MB / 0.9789 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=148): time 2.926e-06/0.2171, allocations: 0 / 0.9789 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of matching and sorting (n=148): time 0.002266/0.2193, allocations: 1.743 MB / 0.9806 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.2195, allocations: 338.5 kB / 0.9809 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.2215, allocations: 2.368 MB / 0.9832 GB, free: 15.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.2217, allocations: 93.7 kB / 0.9833 GB, free: 15.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.2222, allocations: 0.8589 MB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.2225, allocations: 0.5035 MB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002507/0.225, allocations: 4.65 MB / 0.9892 GB, free: 9.812 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.2251, allocations: 309.1 kB / 0.9895 GB, free: 9.508 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005155/0.2302, allocations: 8.527 MB / 0.9978 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005698/0.2359, allocations: 8.908 MB / 1.007 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.2475, allocations: 17.56 MB / 1.024 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.335e-05/0.2475, allocations: 4 kB / 1.024 GB, free: 5.738 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1867) (initialization): time 0.4352/0.6827, allocations: 42.17 MB / 1.065 GB, free: 113.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.6829, allocations: 161.4 kB / 1.065 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/0.6829, allocations: 18.12 kB / 1.065 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.6834, allocations: 151.5 kB / 1.065 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.6851, allocations: 0.6629 MB / 1.066 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.6861, allocations: 1.349 MB / 1.067 GB, free: 112.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.6876, allocations: 347.2 kB / 1.067 GB, free: 112.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.6878, allocations: 117.2 kB / 1.068 GB, free: 112.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (411): * Single equations (assignments): 370 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000894/0.6887, allocations: 464 kB / 1.068 GB, free: 112.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.689, allocations: 178.2 kB / 1.068 GB, free: 112.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.6909, allocations: 1.604 MB / 1.07 GB, free: 112.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6909, allocations: 14.81 kB / 1.07 GB, free: 112.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6909, allocations: 1.375 kB / 1.07 GB, free: 112.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.6909, allocations: 10.64 kB / 1.07 GB, free: 112.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.6941, allocations: 2.769 MB / 1.072 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6941, allocations: 3.5 kB / 1.072 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.6945, allocations: 205.2 kB / 1.073 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/0.6948, allocations: 109 kB / 1.073 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.6949, allocations: 35.91 kB / 1.073 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/0.6957, allocations: 1.33 MB / 1.074 GB, free: 110.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6957, allocations: 1.656 kB / 1.074 GB, free: 110.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.6972, allocations: 1.581 MB / 1.076 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.6976, allocations: 374.9 kB / 1.076 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.6978, allocations: 39.25 kB / 1.076 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.6982, allocations: 57.09 kB / 1.076 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.6984, allocations: 98.06 kB / 1.076 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.6984, allocations: 56.45 kB / 1.076 GB, free: 110.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001223/0.6997, allocations: 1.231 MB / 1.077 GB, free: 110.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6997, allocations: 2.969 kB / 1.077 GB, free: 110.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002949/0.7026, allocations: 1.819 MB / 1.079 GB, free: 110.1 MB / 1.01 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.conTimMin.tNext,weaDat.conTimMin.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002414/0.705, allocations: 1.262 MB / 1.08 GB, free: 109.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006812/0.7118, allocations: 10.36 MB / 1.091 GB, free: 109.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.224e-05/0.7119, allocations: 27.53 kB / 1.091 GB, free: 109.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.7128, allocations: 1.049 MB / 1.092 GB, free: 109.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.7141, allocations: 0.4996 MB / 1.092 GB, free: 109.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.7276, allocations: 14.82 MB / 1.107 GB, free: 104.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.7289, allocations: 1.715 MB / 1.108 GB, free: 104.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001182/0.7301, allocations: 446.3 kB / 1.109 GB, free: 104.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.7312, allocations: 0.5913 MB / 1.109 GB, free: 104.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.833e-06/0.7312, allocations: 3.531 kB / 1.109 GB, free: 104.2 MB / 1.01 GB Notification: Performance of Templates: time 0.08536/0.8165, allocations: 67.84 MB / 1.176 GB, free: 62.09 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.89407355338335]