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.000939/0.000939, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001054/0.001054, allocations: 163.4 kB / 24.96 MB, free: 8.234 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.9578/0.9578, allocations: 177.1 MB / 205.4 MB, free: 5.457 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.949/1.949, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.453e-06/1.453e-06, allocations: 0 / 0.776 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.237e-05, allocations: 5.406 kB / 0.776 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0079/0.007923, allocations: 8.091 MB / 0.7839 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1795/0.1875, allocations: 154.4 MB / 0.9347 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.19, allocations: 51.62 kB / 0.9347 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.005863/0.1959, allocations: 2.127 MB / 0.9368 GB, free: 252 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.004147/0.2, allocations: 1.345 MB / 0.9381 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.2027, allocations: 1.535 MB / 0.9396 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00423/0.207, allocations: 4.544 MB / 0.9441 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2081, allocations: 0.8187 MB / 0.9449 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.2114, allocations: 2.39 MB / 0.9472 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.2133, allocations: 1.294 MB / 0.9485 GB, free: 4.219 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004952/0.2138, allocations: 284 kB / 0.9487 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.2179, allocations: 3.01 MB / 0.9517 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.003027/0.221, allocations: 4.369 MB / 0.9559 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.2226, allocations: 1.13 MB / 0.957 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.007036/0.2296, allocations: 5.055 MB / 0.962 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2296, allocations: 0 / 0.962 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2296, allocations: 0 / 0.962 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.332e-05/0.2297, allocations: 0 / 0.962 GB, free: 6.348 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.004097/0.2338, allocations: 4.011 MB / 0.9659 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2338, allocations: 9.641 kB / 0.9659 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.2351, allocations: 0.5583 MB / 0.9664 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.2376, allocations: 2.461 MB / 0.9688 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.2379, allocations: 183.1 kB / 0.969 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.2381, allocations: 248 kB / 0.9693 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2396, allocations: 1.872 MB / 0.9711 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2396, allocations: 0 / 0.9711 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.2397, allocations: 68 kB / 0.9711 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.2397, allocations: 40 kB / 0.9712 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.2407, allocations: 1.011 MB / 0.9722 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005164/0.2459, allocations: 4.227 MB / 0.9763 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/0.2467, allocations: 0.8622 MB / 0.9771 GB, free: 6.359 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.2471, allocations: 443.2 kB / 0.9776 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.2472, allocations: 40.97 kB / 0.9776 GB, free: 5.875 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007359/0.2479, allocations: 1.07 MB / 0.9787 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=148): time 2.024e-06/0.2479, allocations: 0 / 0.9787 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of matching and sorting (n=148): time 0.001891/0.2498, allocations: 1.684 MB / 0.9803 GB, free: 2.996 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.2499, allocations: 342.5 kB / 0.9806 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.2519, allocations: 2.36 MB / 0.9829 GB, free: 228 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.252, allocations: 97.69 kB / 0.983 GB, free: 124 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.2525, allocations: 0.855 MB / 0.9839 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.2528, allocations: 0.5035 MB / 0.9843 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002276/0.255, allocations: 4.654 MB / 0.9889 GB, free: 10.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.2551, allocations: 305.1 kB / 0.9892 GB, free: 9.766 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005272/0.2604, allocations: 8.508 MB / 0.9975 GB, free: 1.246 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004918/0.2653, allocations: 8.889 MB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.2755, allocations: 17.51 MB / 1.023 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.583e-05/0.2755, allocations: 4 kB / 1.023 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1867) (initialization): time 0.4294/0.7049, allocations: 42.14 MB / 1.064 GB, free: 116.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.7051, allocations: 162.5 kB / 1.065 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/0.7051, allocations: 18.31 kB / 1.065 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.7057, allocations: 153 kB / 1.065 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.7076, allocations: 0.6578 MB / 1.065 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.7088, allocations: 1.351 MB / 1.067 GB, free: 114.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.7105, allocations: 349.1 kB / 1.067 GB, free: 114.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/0.7108, allocations: 117.6 kB / 1.067 GB, free: 114.9 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.001106/0.7119, allocations: 462.7 kB / 1.068 GB, free: 114.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.7122, allocations: 174.8 kB / 1.068 GB, free: 114.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.7144, allocations: 1.563 MB / 1.069 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.7144, allocations: 16.8 kB / 1.069 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7144, allocations: 3.828 kB / 1.069 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.7144, allocations: 12.25 kB / 1.069 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.718, allocations: 2.716 MB / 1.072 GB, free: 114.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.718, allocations: 0.9844 kB / 1.072 GB, free: 114.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.7184, allocations: 207.4 kB / 1.072 GB, free: 114.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003197/0.7187, allocations: 117.7 kB / 1.072 GB, free: 114.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.7188, allocations: 35.72 kB / 1.072 GB, free: 114.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007347/0.7195, allocations: 1.328 MB / 1.074 GB, free: 113 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7195, allocations: 0.75 kB / 1.074 GB, free: 113 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.721, allocations: 1.535 MB / 1.075 GB, free: 112.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/0.7215, allocations: 370.4 kB / 1.075 GB, free: 112.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.7217, allocations: 44.16 kB / 1.076 GB, free: 112.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.7221, allocations: 60.38 kB / 1.076 GB, free: 112.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.7223, allocations: 99.02 kB / 1.076 GB, free: 112.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/0.7224, allocations: 55.92 kB / 1.076 GB, free: 112.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001343/0.7237, allocations: 1.232 MB / 1.077 GB, free: 112.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7237, allocations: 0.875 kB / 1.077 GB, free: 112.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003258/0.727, allocations: 1.814 MB / 1.079 GB, free: 112.6 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.002542/0.7295, allocations: 1.262 MB / 1.08 GB, free: 112.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006823/0.7363, allocations: 10.32 MB / 1.09 GB, free: 112.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.492e-05/0.7364, allocations: 26.38 kB / 1.09 GB, free: 112.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.7375, allocations: 1.028 MB / 1.091 GB, free: 111.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.7392, allocations: 0.4994 MB / 1.092 GB, free: 111.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.7557, allocations: 14.79 MB / 1.106 GB, free: 107.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.7575, allocations: 1.715 MB / 1.108 GB, free: 106.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001381/0.7588, allocations: 441.2 kB / 1.108 GB, free: 106.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.7604, allocations: 0.5879 MB / 1.109 GB, free: 106.8 MB / 1.01 GB Notification: Performance of SimCode: time 2.164e-06/0.7604, allocations: 1 kB / 1.109 GB, free: 106.8 MB / 1.01 GB Notification: Performance of Templates: time 0.08956/0.85, allocations: 67.68 MB / 1.175 GB, free: 64.77 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.997917648404837]