Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 489.3 MB / 0.7687 GB, free: 3.82 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 75.88 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8963/0.8983, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008225/0.9066, allocations: 8.536 MB / 1.271 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1987/1.105, allocations: 159.4 MB / 1.427 GB, free: 10.96 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/1.108, allocations: 41.91 kB / 1.427 GB, free: 10.94 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005821/1.113, allocations: 1.986 MB / 1.429 GB, free: 9.594 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004443/1.118, allocations: 1.252 MB / 1.43 GB, free: 8.637 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/1.122, allocations: 1.447 MB / 1.431 GB, free: 7.535 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006417/1.128, allocations: 5.439 MB / 1.437 GB, free: 4.191 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/1.13, allocations: 1.221 MB / 1.438 GB, free: 3.465 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/1.133, allocations: 1.718 MB / 1.439 GB, free: 2.465 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/1.136, allocations: 1.56 MB / 1.441 GB, free: 1.445 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009085/1.137, allocations: 290.7 kB / 1.441 GB, free: 1.168 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/1.142, allocations: 2.575 MB / 1.444 GB, free: 14.59 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004551/1.147, allocations: 4.362 MB / 1.448 GB, free: 10.22 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/1.15, allocations: 1.73 MB / 1.45 GB, free: 8.484 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009443/1.159, allocations: 6.326 MB / 1.456 GB, free: 2.137 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.159, allocations: 0 / 1.456 GB, free: 2.137 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.713e-06/1.159, allocations: 0 / 1.456 GB, free: 2.137 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001057/1.159, allocations: 0 / 1.456 GB, free: 2.137 MB / 1.139 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.008177/1.168, allocations: 4.315 MB / 1.46 GB, free: 13.74 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.168, allocations: 8.031 kB / 1.46 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/1.169, allocations: 446.4 kB / 1.461 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/1.183, allocations: 12.36 MB / 1.473 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/1.183, allocations: 175.1 kB / 1.473 GB, free: 0.6992 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/1.183, allocations: 236 kB / 1.473 GB, free: 480 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/1.187, allocations: 2.377 MB / 1.475 GB, free: 14.03 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/1.187, allocations: 4 kB / 1.475 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.187, allocations: 64 kB / 1.475 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/1.187, allocations: 40 kB / 1.475 GB, free: 13.92 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/1.192, allocations: 2.467 MB / 1.478 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/1.212, allocations: 15.6 MB / 1.493 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/1.215, allocations: 1.986 MB / 1.495 GB, free: 9.598 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/1.217, allocations: 1.277 MB / 1.496 GB, free: 8.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/1.217, allocations: 33.11 kB / 1.496 GB, free: 8.289 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/1.219, allocations: 1.369 MB / 1.498 GB, free: 6.902 MB / 1.186 GB Notification: Performance of pre-optimization done (n=138): time 2.455e-06/1.219, allocations: 0 / 1.498 GB, free: 6.902 MB / 1.186 GB Notification: Performance of matching and sorting (n=138): time 0.007139/1.226, allocations: 3.828 MB / 1.501 GB, free: 3.031 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002848/1.226, allocations: 362.5 kB / 1.502 GB, free: 2.629 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03173/1.258, allocations: 20.6 MB / 1.522 GB, free: 14.01 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000521/1.259, allocations: 85.7 kB / 1.522 GB, free: 13.92 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.26, allocations: 1.188 MB / 1.523 GB, free: 12.72 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/1.261, allocations: 499.8 kB / 1.524 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00451/1.265, allocations: 5.015 MB / 1.528 GB, free: 7.188 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.265, allocations: 301.1 kB / 1.529 GB, free: 6.891 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03818/1.304, allocations: 38.68 MB / 1.566 GB, free: 208 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0403/1.344, allocations: 40.08 MB / 1.606 GB, free: 7.863 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04699/1.391, allocations: 47.73 MB / 1.652 GB, free: 7.656 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.741e-05/1.391, allocations: 4 kB / 1.652 GB, free: 7.652 MB / 1.342 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09593/1.487, allocations: 91 MB / 1.741 GB, free: 12.24 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002788/1.487, allocations: 203.3 kB / 1.741 GB, free: 12.04 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/1.487, allocations: 20 kB / 1.741 GB, free: 12.02 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/1.488, allocations: 112.9 kB / 1.741 GB, free: 11.9 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.49, allocations: 0.6122 MB / 1.742 GB, free: 11.29 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/1.493, allocations: 1.678 MB / 1.744 GB, free: 9.465 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/1.496, allocations: 373.2 kB / 1.744 GB, free: 9.098 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/1.496, allocations: 155.9 kB / 1.744 GB, free: 8.945 MB / 1.436 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.003315/1.5, allocations: 2.511 MB / 1.747 GB, free: 6.422 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/1.5, allocations: 274.1 kB / 1.747 GB, free: 6.152 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005956/1.506, allocations: 3.482 MB / 1.75 GB, free: 2.648 MB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.506, allocations: 16 kB / 1.75 GB, free: 2.633 MB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.506, allocations: 0 / 1.75 GB, free: 2.633 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.506, allocations: 3.984 kB / 1.75 GB, free: 2.629 MB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/1.509, allocations: 2.092 MB / 1.752 GB, free: 488 kB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.509, allocations: 0 / 1.752 GB, free: 488 kB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009076/1.51, allocations: 207.7 kB / 1.753 GB, free: 280 kB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/1.511, allocations: 72.78 kB / 1.753 GB, free: 204 kB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.511, allocations: 47.91 kB / 1.753 GB, free: 156 kB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/1.513, allocations: 1.662 MB / 1.754 GB, free: 14.35 MB / 1.451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.513, allocations: 3.938 kB / 1.754 GB, free: 14.34 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/1.519, allocations: 3.347 MB / 1.758 GB, free: 10.97 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.52, allocations: 0.565 MB / 1.758 GB, free: 10.38 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/1.52, allocations: 32 kB / 1.758 GB, free: 10.35 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.521, allocations: 91.91 kB / 1.758 GB, free: 10.26 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.522, allocations: 101.2 kB / 1.758 GB, free: 10.16 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.522, allocations: 67.97 kB / 1.758 GB, free: 10.09 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.01206/1.534, allocations: 12.79 MB / 1.771 GB, free: 13.3 MB / 1.467 GB Notification: Performance of sort global known variables: time 4.51e-07/1.534, allocations: 0 / 1.771 GB, free: 13.3 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.004967/1.539, allocations: 1.794 MB / 1.773 GB, free: 11.5 MB / 1.467 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.003098/1.542, allocations: 1.023 MB / 1.774 GB, free: 10.67 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.04781/1.59, allocations: 50.92 MB / 1.823 GB, free: 7.719 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.59, allocations: 3.938 kB / 1.823 GB, free: 7.715 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.00349/1.593, allocations: 2.712 MB / 1.826 GB, free: 4.977 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.596, allocations: 494.3 kB / 1.826 GB, free: 4.512 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5795/2.175, allocations: 9.874 MB / 1.836 GB, free: 0.5039 GB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/2.177, allocations: 2.037 MB / 1.838 GB, free: 0.5032 GB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009743/2.178, allocations: 234.2 kB / 1.838 GB, free: 0.5032 GB / 1.514 GB Notification: Performance of SimCode: time 7.92e-07/2.178, allocations: 0 / 1.838 GB, free: 0.5032 GB / 1.514 GB Notification: Performance of Templates: time 0.1628/2.341, allocations: 98.43 MB / 1.934 GB, free: 468.2 MB / 1.514 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 19.737922576023266] Failed to read output from testmodel.py, exit status != 0: 2.347394583048299 2.354434763 1.193479027 Calling exit ...