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.002092/0.002092, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.002678/0.002678, allocations: 220.7 kB / 23.02 MB, free: 2.965 MB / 13.93 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 1.675/1.675, allocations: 230.6 MB / 256.8 MB, free: 9.648 MB / 202.7 MB " [Timeout remaining time 178] 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 3.499/3.499, allocations: 0.5045 GB / 0.8104 GB, free: 2.82 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.005211/0.005211, allocations: 63.91 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8811/0.8863, allocations: 180 MB / 1.353 GB, free: 1.633 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01653/0.9028, allocations: 7.544 MB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.2253/1.128, allocations: 140.7 MB / 1.498 GB, free: 12.83 MB / 1.182 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/1.13, allocations: 47.62 kB / 1.498 GB, free: 12.78 MB / 1.182 GB Notification: Performance of NFTyping.typeComponents: time 0.006204/1.136, allocations: 2.097 MB / 1.5 GB, free: 10.68 MB / 1.182 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/1.141, allocations: 1.282 MB / 1.501 GB, free: 9.391 MB / 1.182 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/1.145, allocations: 1.522 MB / 1.503 GB, free: 7.875 MB / 1.182 GB Notification: Performance of NFFlatten.flatten: time 0.007776/1.153, allocations: 5.727 MB / 1.508 GB, free: 2.129 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/1.154, allocations: 0.7948 MB / 1.509 GB, free: 1.289 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003492/1.158, allocations: 1.777 MB / 1.511 GB, free: 15.51 MB / 1.198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/1.161, allocations: 1.603 MB / 1.512 GB, free: 13.9 MB / 1.198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006225/1.161, allocations: 299.9 kB / 1.512 GB, free: 13.61 MB / 1.198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/1.167, allocations: 2.832 MB / 1.515 GB, free: 10.77 MB / 1.198 GB Notification: Performance of NFScalarize.scalarize: time 0.005227/1.172, allocations: 4.377 MB / 1.52 GB, free: 6.387 MB / 1.198 GB Notification: Performance of NFVerifyModel.verify: time 0.002845/1.175, allocations: 1.396 MB / 1.521 GB, free: 4.984 MB / 1.198 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/1.186, allocations: 6.49 MB / 1.527 GB, free: 14.47 MB / 1.214 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.186, allocations: 0 / 1.527 GB, free: 14.47 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.645e-06/1.186, allocations: 0 / 1.527 GB, free: 14.47 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0001218/1.186, allocations: 0 / 1.527 GB, free: 14.47 MB / 1.214 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.009455/1.196, allocations: 4.271 MB / 1.531 GB, free: 10.13 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.196, allocations: 8.031 kB / 1.531 GB, free: 10.12 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/1.198, allocations: 0.5139 MB / 1.532 GB, free: 9.609 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/1.216, allocations: 12.31 MB / 1.544 GB, free: 13.23 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/1.216, allocations: 179.1 kB / 1.544 GB, free: 13.05 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000423/1.216, allocations: 240 kB / 1.544 GB, free: 12.82 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004827/1.221, allocations: 2.801 MB / 1.547 GB, free: 9.832 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/1.221, allocations: 0 / 1.547 GB, free: 9.832 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/1.221, allocations: 75.98 kB / 1.547 GB, free: 9.758 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/1.221, allocations: 36 kB / 1.547 GB, free: 9.723 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/1.225, allocations: 2.336 MB / 1.549 GB, free: 7.375 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0221/1.248, allocations: 14.18 MB / 1.563 GB, free: 9.086 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/1.251, allocations: 1.65 MB / 1.565 GB, free: 7.43 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/1.252, allocations: 0.9353 MB / 1.566 GB, free: 6.488 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/1.253, allocations: 32.97 kB / 1.566 GB, free: 6.457 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002609/1.255, allocations: 1.614 MB / 1.567 GB, free: 4.738 MB / 1.245 GB Notification: Performance of pre-optimization done (n=148): time 3.116e-06/1.255, allocations: 0 / 1.567 GB, free: 4.738 MB / 1.245 GB Notification: Performance of matching and sorting (n=148): time 0.007242/1.262, allocations: 3.39 MB / 1.571 GB, free: 1.32 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003064/1.263, allocations: 350.6 kB / 1.571 GB, free: 0.9297 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03704/1.3, allocations: 20.56 MB / 1.591 GB, free: 12.34 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0007259/1.3, allocations: 89.7 kB / 1.591 GB, free: 12.24 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.302, allocations: 1.192 MB / 1.592 GB, free: 11.04 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008892/1.303, allocations: 0.5075 MB / 1.593 GB, free: 10.53 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005673/1.309, allocations: 5.035 MB / 1.598 GB, free: 5.473 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.309, allocations: 301.1 kB / 1.598 GB, free: 5.176 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04541/1.354, allocations: 38.63 MB / 1.636 GB, free: 14.53 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05002/1.404, allocations: 40.16 MB / 1.675 GB, free: 6.07 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8765/2.281, allocations: 47.5 MB / 1.721 GB, free: 343.4 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-05/2.281, allocations: 5.125 kB / 1.721 GB, free: 343.4 MB / 1.385 GB Notification: Performance of matching and sorting (n=1868) (initialization): time 0.0708/2.352, allocations: 91.19 MB / 1.81 GB, free: 264.6 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/2.352, allocations: 175.9 kB / 1.811 GB, free: 264.4 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.546e-05/2.352, allocations: 23.8 kB / 1.811 GB, free: 264.4 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006636/2.353, allocations: 111.9 kB / 1.811 GB, free: 264.3 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/2.355, allocations: 0.6208 MB / 1.811 GB, free: 263.8 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/2.357, allocations: 1.542 MB / 1.813 GB, free: 262.3 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/2.36, allocations: 379.2 kB / 1.813 GB, free: 262.1 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004353/2.36, allocations: 157.3 kB / 1.813 GB, free: 262 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (412): * Single equations (assignments): 371 * 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.002839/2.363, allocations: 2.504 MB / 1.816 GB, free: 259.7 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/2.364, allocations: 267.8 kB / 1.816 GB, free: 259.6 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00496/2.369, allocations: 3.028 MB / 1.819 GB, free: 256.7 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/2.369, allocations: 16 kB / 1.819 GB, free: 256.7 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.369, allocations: 3.984 kB / 1.819 GB, free: 256.7 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/2.369, allocations: 7.922 kB / 1.819 GB, free: 256.7 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00771/2.377, allocations: 4.898 MB / 1.824 GB, free: 251.8 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2.377, allocations: 3.781 kB / 1.824 GB, free: 251.8 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/2.378, allocations: 207.7 kB / 1.824 GB, free: 251.6 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004327/2.378, allocations: 76.78 kB / 1.824 GB, free: 251.5 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/2.378, allocations: 43.94 kB / 1.824 GB, free: 251.5 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/2.38, allocations: 1.523 MB / 1.826 GB, free: 249.9 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/2.38, allocations: 7.875 kB / 1.826 GB, free: 249.8 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/2.384, allocations: 2.971 MB / 1.829 GB, free: 246.9 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/2.385, allocations: 0.4891 MB / 1.829 GB, free: 246.4 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/2.386, allocations: 39.98 kB / 1.829 GB, free: 246.4 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/2.387, allocations: 91.53 kB / 1.829 GB, free: 246.3 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/2.387, allocations: 113 kB / 1.829 GB, free: 246.2 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/2.387, allocations: 67.97 kB / 1.829 GB, free: 246.1 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.007808/2.395, allocations: 12.75 MB / 1.842 GB, free: 233.4 MB / 1.385 GB Notification: Performance of sort global known variables: time 8e-08/2.395, allocations: 3.938 kB / 1.842 GB, free: 233.4 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.005141/2.4, allocations: 1.823 MB / 1.844 GB, free: 231.6 MB / 1.385 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.004713/2.405, allocations: 1.061 MB / 1.845 GB, free: 230.8 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02841/2.433, allocations: 40.99 MB / 1.885 GB, free: 189.8 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/2.433, allocations: 1.875 kB / 1.885 GB, free: 189.8 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/2.435, allocations: 1.634 MB / 1.886 GB, free: 188.1 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/2.438, allocations: 474.5 kB / 1.887 GB, free: 187.7 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/2.46, allocations: 20.26 MB / 1.907 GB, free: 167.4 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004132/2.464, allocations: 4.174 MB / 1.911 GB, free: 163.2 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.001804/2.466, allocations: 0.6329 MB / 1.911 GB, free: 162.6 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/2.466, allocations: 223.4 kB / 1.911 GB, free: 162.3 MB / 1.385 GB Notification: Performance of SimCode: time 1.462e-06/2.466, allocations: 0 / 1.911 GB, free: 162.3 MB / 1.385 GB Notification: Performance of Templates: time 0.1017/2.568, allocations: 68.79 MB / 1.979 GB, free: 93.89 MB / 1.385 GB " [Timeout remaining time 297] 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: 13.676903742365539]