Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 105.3 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 189 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.2 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 71.77 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2903, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01038/0.3007, allocations: 7.315 MB / 0.9574 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7287/1.029, allocations: 159.3 MB / 1.113 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/1.031, allocations: 38.09 kB / 1.113 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005699/1.036, allocations: 1.95 MB / 1.115 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002901/1.039, allocations: 1.168 MB / 1.116 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/1.043, allocations: 1.426 MB / 1.117 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005813/1.049, allocations: 5.217 MB / 1.123 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/1.051, allocations: 1.283 MB / 1.124 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/1.054, allocations: 1.684 MB / 1.125 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/1.057, allocations: 1.531 MB / 1.127 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007232/1.058, allocations: 290.5 kB / 1.127 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006301/1.064, allocations: 2.538 MB / 1.13 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004608/1.069, allocations: 4.355 MB / 1.134 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003122/1.072, allocations: 1.684 MB / 1.136 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/1.083, allocations: 6.153 MB / 1.142 GB, free: 32 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.084, allocations: 6.391 kB / 1.142 GB, free: 28 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/1.084, allocations: 0 / 1.142 GB, free: 28 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001594/1.084, allocations: 0 / 1.142 GB, free: 28 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01177/1.095, allocations: 4.154 MB / 1.146 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.096, allocations: 9.375 kB / 1.146 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.097, allocations: 421.2 kB / 1.146 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.111, allocations: 12.31 MB / 1.158 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/1.111, allocations: 172.1 kB / 1.158 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003994/1.111, allocations: 235.1 kB / 1.158 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/1.115, allocations: 2.375 MB / 1.161 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/1.115, allocations: 0 / 1.161 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/1.115, allocations: 74.33 kB / 1.161 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/1.115, allocations: 41.38 kB / 1.161 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00365/1.119, allocations: 2.461 MB / 1.163 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/1.137, allocations: 15.07 MB / 1.178 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/1.141, allocations: 1.985 MB / 1.18 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/1.142, allocations: 1.278 MB / 1.181 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-05/1.142, allocations: 41.33 kB / 1.181 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00187/1.144, allocations: 1.36 MB / 1.183 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=138): time 3.096e-06/1.144, allocations: 0 / 1.183 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of matching and sorting (n=138): time 0.007505/1.152, allocations: 3.819 MB / 1.186 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/1.152, allocations: 358.5 kB / 1.187 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03123/1.183, allocations: 20.6 MB / 1.207 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008325/1.184, allocations: 89.69 kB / 1.207 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.186, allocations: 1.164 MB / 1.208 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/1.187, allocations: 467.1 kB / 1.208 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004285/1.191, allocations: 4.928 MB / 1.213 GB, free: 12.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.191, allocations: 301.1 kB / 1.214 GB, free: 12.22 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03455/1.225, allocations: 38.69 MB / 1.251 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03817/1.264, allocations: 40.08 MB / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04396/1.308, allocations: 47.73 MB / 1.337 GB, free: 13.05 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-05/1.308, allocations: 12 kB / 1.337 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09271/1.401, allocations: 90.96 MB / 1.426 GB, free: 1.676 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003057/1.401, allocations: 201.6 kB / 1.426 GB, free: 1.473 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.722e-05/1.401, allocations: 16 kB / 1.426 GB, free: 1.457 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/1.402, allocations: 108.9 kB / 1.426 GB, free: 1.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00293/1.405, allocations: 0.62 MB / 1.427 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.407, allocations: 1.667 MB / 1.428 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/1.41, allocations: 374.5 kB / 1.429 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/1.411, allocations: 154 kB / 1.429 GB, free: 14.41 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,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 (396): * Single equations (assignments): 355 * 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.00317/1.414, allocations: 2.509 MB / 1.431 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006622/1.415, allocations: 260.4 kB / 1.432 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/1.42, allocations: 3.489 MB / 1.435 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/1.42, allocations: 12 kB / 1.435 GB, free: 8.105 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.42, allocations: 4 kB / 1.435 GB, free: 8.102 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.42, allocations: 7.969 kB / 1.435 GB, free: 8.094 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/1.424, allocations: 2.082 MB / 1.437 GB, free: 5.984 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.424, allocations: 4 kB / 1.437 GB, free: 5.98 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009517/1.424, allocations: 211.6 kB / 1.437 GB, free: 5.773 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/1.425, allocations: 72.78 kB / 1.437 GB, free: 5.699 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.425, allocations: 43.97 kB / 1.437 GB, free: 5.656 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/1.427, allocations: 1.652 MB / 1.439 GB, free: 3.859 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.427, allocations: 0 / 1.439 GB, free: 3.859 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005233/1.432, allocations: 3.333 MB / 1.442 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.433, allocations: 0.5441 MB / 1.443 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/1.434, allocations: 39.88 kB / 1.443 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.435, allocations: 91.89 kB / 1.443 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.435, allocations: 97.19 kB / 1.443 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.435, allocations: 71.95 kB / 1.443 GB, free: 15.63 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01151/1.447, allocations: 12.79 MB / 1.456 GB, free: 2.84 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.92e-07/1.447, allocations: 0 / 1.456 GB, free: 2.84 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006414/1.453, allocations: 1.756 MB / 1.457 GB, free: 1.09 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.003052/1.456, allocations: 1.022 MB / 1.458 GB, free: 296 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.04894/1.505, allocations: 51.76 MB / 1.509 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.505, allocations: 0.9375 kB / 1.509 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003882/1.509, allocations: 2.72 MB / 1.512 GB, free: 9.773 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.512, allocations: 460.1 kB / 1.512 GB, free: 9.34 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.528, allocations: 9.978 MB / 1.522 GB, free: 15.33 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.53, allocations: 2.028 MB / 1.524 GB, free: 13.28 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.531, allocations: 235.3 kB / 1.524 GB, free: 13.05 MB / 1.232 GB Notification: Performance of SimCode: time 2.895e-06/1.531, allocations: 0 / 1.524 GB, free: 13.05 MB / 1.232 GB Notification: Performance of Templates: time 0.59/2.121, allocations: 97.6 MB / 1.619 GB, free: 456.2 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)