Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.001513/0.001513, allocations: 109.6 kB / 17.08 MB, free: 5.984 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.001572/0.001572, allocations: 192.7 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.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] 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.913/2.913, allocations: 489.3 MB / 0.7687 GB, free: 3.797 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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 71.88 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9517/0.9544, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008449/0.9629, allocations: 7.267 MB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2031/1.166, allocations: 155.5 MB / 1.422 GB, free: 15.13 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/1.168, allocations: 25.09 kB / 1.422 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004871/1.173, allocations: 1.814 MB / 1.423 GB, free: 13.93 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/1.176, allocations: 0.8461 MB / 1.424 GB, free: 13.28 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/1.178, allocations: 1.038 MB / 1.425 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004188/1.183, allocations: 3.562 MB / 1.429 GB, free: 10.35 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/1.184, allocations: 0.9224 MB / 1.43 GB, free: 9.77 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/1.186, allocations: 1.159 MB / 1.431 GB, free: 9.109 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/1.187, allocations: 1.051 MB / 1.432 GB, free: 8.414 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003352/1.188, allocations: 195.4 kB / 1.432 GB, free: 8.414 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/1.192, allocations: 2.24 MB / 1.434 GB, free: 7.277 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001775/1.194, allocations: 1.918 MB / 1.436 GB, free: 6.375 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/1.195, allocations: 1.175 MB / 1.437 GB, free: 5.426 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00672/1.202, allocations: 4.446 MB / 1.441 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.202, allocations: 0 / 1.441 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.733e-06/1.202, allocations: 0 / 1.441 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.186e-05/1.202, allocations: 0 / 1.441 GB, free: 0.9648 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005194/1.207, allocations: 3.078 MB / 1.444 GB, free: 13.81 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.207, allocations: 12.03 kB / 1.444 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/1.208, allocations: 307.2 kB / 1.445 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/1.214, allocations: 4.6 MB / 1.449 GB, free: 8.852 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.214, allocations: 130.4 kB / 1.449 GB, free: 8.723 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/1.214, allocations: 180 kB / 1.45 GB, free: 8.547 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/1.217, allocations: 1.664 MB / 1.451 GB, free: 6.82 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/1.217, allocations: 4 kB / 1.451 GB, free: 6.816 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/1.217, allocations: 52 kB / 1.451 GB, free: 6.766 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/1.217, allocations: 28 kB / 1.451 GB, free: 6.738 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/1.22, allocations: 1.726 MB / 1.453 GB, free: 5.004 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/1.231, allocations: 7.395 MB / 1.46 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/1.233, allocations: 1.591 MB / 1.462 GB, free: 11.83 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/1.234, allocations: 1.035 MB / 1.463 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.649e-05/1.234, allocations: 37.17 kB / 1.463 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/1.236, allocations: 0.9734 MB / 1.464 GB, free: 9.773 MB / 1.154 GB Notification: Performance of pre-optimization done (n=118): time 3.346e-06/1.236, allocations: 0 / 1.464 GB, free: 9.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=118): time 0.004504/1.24, allocations: 2.86 MB / 1.467 GB, free: 6.902 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002656/1.241, allocations: 352.2 kB / 1.467 GB, free: 6.512 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.251, allocations: 7.385 MB / 1.474 GB, free: 15.08 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000307/1.251, allocations: 73.7 kB / 1.474 GB, free: 15 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008687/1.252, allocations: 0.7973 MB / 1.475 GB, free: 14.2 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/1.253, allocations: 412.6 kB / 1.475 GB, free: 13.79 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/1.254, allocations: 1.915 MB / 1.477 GB, free: 11.86 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.255, allocations: 301.1 kB / 1.477 GB, free: 11.56 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0133/1.268, allocations: 12.99 MB / 1.49 GB, free: 14.57 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/1.282, allocations: 13.7 MB / 1.504 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/1.3, allocations: 17.11 MB / 1.52 GB, free: 15.31 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-05/1.3, allocations: 4 kB / 1.52 GB, free: 15.31 MB / 1.217 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03444/1.334, allocations: 31.28 MB / 1.551 GB, free: 15.84 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.000253/1.335, allocations: 185.6 kB / 1.551 GB, free: 15.65 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/1.335, allocations: 12 kB / 1.551 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/1.335, allocations: 20 kB / 1.551 GB, free: 15.62 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/1.337, allocations: 475.2 kB / 1.551 GB, free: 15.15 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-05/1.337, allocations: 27.92 kB / 1.551 GB, free: 15.12 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.338, allocations: 289.8 kB / 1.552 GB, free: 14.84 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/1.338, allocations: 112 kB / 1.552 GB, free: 14.73 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001666/1.34, allocations: 1.243 MB / 1.553 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/1.341, allocations: 194.6 kB / 1.553 GB, free: 13.28 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/1.345, allocations: 2.741 MB / 1.556 GB, free: 10.52 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.345, allocations: 8 kB / 1.556 GB, free: 10.51 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.345, allocations: 0 / 1.556 GB, free: 10.51 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.345, allocations: 3.984 kB / 1.556 GB, free: 10.51 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/1.347, allocations: 1.496 MB / 1.557 GB, free: 8.953 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.347, allocations: 4 kB / 1.557 GB, free: 8.949 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/1.348, allocations: 155.8 kB / 1.558 GB, free: 8.797 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.348, allocations: 4 kB / 1.558 GB, free: 8.793 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/1.348, allocations: 31.98 kB / 1.558 GB, free: 8.762 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.348, allocations: 7.938 kB / 1.558 GB, free: 8.754 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.348, allocations: 4 kB / 1.558 GB, free: 8.75 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/1.352, allocations: 2.653 MB / 1.56 GB, free: 6.066 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/1.352, allocations: 435.3 kB / 1.561 GB, free: 5.621 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/1.352, allocations: 32 kB / 1.561 GB, free: 5.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/1.353, allocations: 74.67 kB / 1.561 GB, free: 5.52 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.353, allocations: 84.89 kB / 1.561 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.354, allocations: 47.97 kB / 1.561 GB, free: 5.391 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004738/1.358, allocations: 4.648 MB / 1.565 GB, free: 0.7188 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.9e-07/1.358, allocations: 0 / 1.565 GB, free: 0.7188 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002903/1.361, allocations: 1.224 MB / 1.567 GB, free: 15.49 MB / 1.264 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002944/1.364, allocations: 0.9657 MB / 1.568 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.383, allocations: 18.97 MB / 1.586 GB, free: 11.72 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.384, allocations: 0 / 1.586 GB, free: 11.72 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00258/1.386, allocations: 2.244 MB / 1.588 GB, free: 9.469 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.388, allocations: 380 kB / 1.589 GB, free: 9.113 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/1.396, allocations: 5.572 MB / 1.594 GB, free: 3.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/1.397, allocations: 1.539 MB / 1.596 GB, free: 1.938 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/1.398, allocations: 171.4 kB / 1.596 GB, free: 1.77 MB / 1.279 GB Notification: Performance of SimCode: time 4.4e-07/1.398, allocations: 0 / 1.596 GB, free: 1.77 MB / 1.279 GB Notification: Performance of Templates: time 0.08084/1.478, allocations: 46.64 MB / 1.641 GB, free: 3.93 MB / 1.326 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 17.576299445936456] Failed to read output from testmodel.py, exit status != 0: 1.4878491240087897 1.508333782 0.30224003199999994 Calling exit ...