Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007882/0.0007882, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007765/0.0007765, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9146/0.9146, allocations: 177.1 MB / 203.5 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.759/1.759, allocations: 377.9 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.84e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.006552/0.00657, allocations: 7.569 MB / 0.9896 GB, free: 10.45 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5756/0.5822, allocations: 140.7 MB / 1.127 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.5833, allocations: 53.69 kB / 1.127 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.587, allocations: 2.108 MB / 1.129 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.5889, allocations: 1.322 MB / 1.13 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.5912, allocations: 1.589 MB / 1.132 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002569/0.5938, allocations: 4.54 MB / 1.136 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008599/0.5946, allocations: 0.7915 MB / 1.137 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.5964, allocations: 2.187 MB / 1.139 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5977, allocations: 1.408 MB / 1.141 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003486/0.598, allocations: 300.2 kB / 1.141 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.6018, allocations: 2.845 MB / 1.144 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.6044, allocations: 4.363 MB / 1.148 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008727/0.6053, allocations: 1.158 MB / 1.149 GB, free: 4.535 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.6119, allocations: 6.875 MB / 1.156 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6119, allocations: 0 / 1.156 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6119, allocations: 0 / 1.156 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.703e-05/0.612, allocations: 0 / 1.156 GB, free: 2.195 MB / 0.9948 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.004618/0.6166, allocations: 4.244 MB / 1.16 GB, free: 15.66 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6166, allocations: 12.58 kB / 1.16 GB, free: 15.66 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.6179, allocations: 0.5078 MB / 1.161 GB, free: 15.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009144/0.6271, allocations: 12.31 MB / 1.173 GB, free: 11.49 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/0.6272, allocations: 177.7 kB / 1.173 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.6274, allocations: 248.3 kB / 1.173 GB, free: 11.33 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.6298, allocations: 2.803 MB / 1.176 GB, free: 9.836 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.6298, allocations: 5.156 kB / 1.176 GB, free: 9.836 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.6299, allocations: 64.75 kB / 1.176 GB, free: 9.789 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.6299, allocations: 37.19 kB / 1.176 GB, free: 9.789 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.632, allocations: 2.338 MB / 1.178 GB, free: 9.148 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.6424, allocations: 14.18 MB / 1.192 GB, free: 3.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.6441, allocations: 1.648 MB / 1.194 GB, free: 1.844 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/0.6449, allocations: 0.9399 MB / 1.194 GB, free: 0.8984 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.267e-05/0.645, allocations: 28.97 kB / 1.194 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.6462, allocations: 1.614 MB / 1.196 GB, free: 15.16 MB / 1.026 GB Notification: Performance of pre-optimization done (n=148): time 2.274e-06/0.6462, allocations: 0 / 1.196 GB, free: 15.16 MB / 1.026 GB Notification: Performance of matching and sorting (n=148): time 0.003891/0.6501, allocations: 3.393 MB / 1.199 GB, free: 11.73 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.6503, allocations: 346.5 kB / 1.2 GB, free: 11.34 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02041/0.6707, allocations: 20.55 MB / 1.22 GB, free: 6.762 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005172/0.6712, allocations: 93.7 kB / 1.22 GB, free: 6.664 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000822/0.672, allocations: 1.196 MB / 1.221 GB, free: 5.457 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.6724, allocations: 0.4958 MB / 1.222 GB, free: 4.957 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002544/0.6749, allocations: 5.031 MB / 1.226 GB, free: 15.9 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003098/0.6752, allocations: 305.1 kB / 1.227 GB, free: 15.6 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02151/0.6967, allocations: 38.63 MB / 1.264 GB, free: 8.961 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02324/0.72, allocations: 40.17 MB / 1.304 GB, free: 0.5 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/0.7482, allocations: 47.5 MB / 1.35 GB, free: 0.5195 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/0.7483, allocations: 12 kB / 1.35 GB, free: 0.5078 MB / 1.167 GB Notification: Performance of matching and sorting (n=1868) (initialization): time 0.05544/0.8037, allocations: 91.18 MB / 1.439 GB, free: 4.914 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.8038, allocations: 173.6 kB / 1.439 GB, free: 4.738 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.8039, allocations: 23.98 kB / 1.439 GB, free: 4.715 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.8042, allocations: 112.8 kB / 1.439 GB, free: 4.602 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.8056, allocations: 0.6201 MB / 1.44 GB, free: 3.98 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.8069, allocations: 1.546 MB / 1.442 GB, free: 2.336 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.8087, allocations: 381.3 kB / 1.442 GB, free: 1.961 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.8089, allocations: 159.9 kB / 1.442 GB, free: 1.805 MB / 1.26 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.002091/0.811, allocations: 2.49 MB / 1.444 GB, free: 15.3 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.8113, allocations: 270.1 kB / 1.445 GB, free: 15.03 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.8145, allocations: 3.03 MB / 1.448 GB, free: 11.98 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8145, allocations: 16 kB / 1.448 GB, free: 11.96 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.8145, allocations: 3.938 kB / 1.448 GB, free: 11.96 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.8146, allocations: 7.969 kB / 1.448 GB, free: 11.95 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/0.8195, allocations: 4.917 MB / 1.453 GB, free: 6.961 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.8195, allocations: 0 / 1.453 GB, free: 6.961 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.8199, allocations: 215.7 kB / 1.453 GB, free: 6.75 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.8201, allocations: 72.78 kB / 1.453 GB, free: 6.676 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.8202, allocations: 51.59 kB / 1.453 GB, free: 6.629 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009962/0.8212, allocations: 1.517 MB / 1.454 GB, free: 4.996 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8212, allocations: 0 / 1.454 GB, free: 4.996 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.8239, allocations: 2.983 MB / 1.457 GB, free: 1.977 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/0.8244, allocations: 0.4898 MB / 1.458 GB, free: 1.484 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.8246, allocations: 43.88 kB / 1.458 GB, free: 1.441 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.8251, allocations: 96.12 kB / 1.458 GB, free: 1.352 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.8253, allocations: 109.1 kB / 1.458 GB, free: 1.246 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.8254, allocations: 67.97 kB / 1.458 GB, free: 1.18 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.006777/0.8322, allocations: 12.74 MB / 1.47 GB, free: 4.434 MB / 1.292 GB Notification: Performance of sort global known variables: time 1e-07/0.8322, allocations: 7.938 kB / 1.47 GB, free: 4.426 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.003632/0.8358, allocations: 1.821 MB / 1.472 GB, free: 2.602 MB / 1.292 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 (134): * Single equations (assignments): 120 * 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.00186/0.8377, allocations: 1.149 MB / 1.473 GB, free: 1.66 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.02286/0.8605, allocations: 40.99 MB / 1.513 GB, free: 8.621 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8605, allocations: 0 / 1.513 GB, free: 8.621 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.8619, allocations: 1.623 MB / 1.515 GB, free: 6.969 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.8634, allocations: 483.5 kB / 1.515 GB, free: 6.516 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008696/0.8721, allocations: 9.964 MB / 1.525 GB, free: 12.52 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.8731, allocations: 1.48 MB / 1.527 GB, free: 11 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000493/0.8736, allocations: 236.4 kB / 1.527 GB, free: 10.77 MB / 1.354 GB Notification: Performance of SimCode: time 9.42e-07/0.8736, allocations: 0 / 1.527 GB, free: 10.77 MB / 1.354 GB Notification: Performance of Templates: time 0.4646/1.338, allocations: 101.1 MB / 1.626 GB, free: 460.1 MB / 1.385 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 13.47837364859879] Failed to read output from testmodel.py, exit status != 0: 1.3436003355309367 1.351282523 0.737664739 Calling exit ...