Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0017/0.0017, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.002009/0.002009, allocations: 186 kB / 20.78 MB, free: 1.535 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 476.7 MB / 0.7629 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.194, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.01005/1.204, allocations: 7.358 MB / 1.279 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.225/1.429, allocations: 156.1 MB / 1.431 GB, free: 14.05 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/1.431, allocations: 29.22 kB / 1.431 GB, free: 14.04 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007375/1.438, allocations: 1.829 MB / 1.433 GB, free: 12.83 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004126/1.442, allocations: 0.8637 MB / 1.434 GB, free: 12.17 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/1.446, allocations: 1.059 MB / 1.435 GB, free: 11.36 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005702/1.452, allocations: 3.522 MB / 1.438 GB, free: 9.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/1.453, allocations: 0.6289 MB / 1.439 GB, free: 8.75 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/1.456, allocations: 1.159 MB / 1.44 GB, free: 8.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/1.458, allocations: 1.118 MB / 1.441 GB, free: 7.016 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/1.459, allocations: 195.9 kB / 1.441 GB, free: 6.824 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005833/1.465, allocations: 2.317 MB / 1.444 GB, free: 4.504 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00233/1.467, allocations: 2.074 MB / 1.446 GB, free: 2.426 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003715/1.471, allocations: 2.153 MB / 1.448 GB, free: 268 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/1.484, allocations: 7.885 MB / 1.455 GB, free: 8.352 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.484, allocations: 0 / 1.455 GB, free: 8.352 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.745e-06/1.484, allocations: 0 / 1.455 GB, free: 8.352 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001582/1.484, allocations: 0 / 1.455 GB, free: 8.352 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01876/1.502, allocations: 6.391 MB / 1.462 GB, free: 1.871 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/1.503, allocations: 8.031 kB / 1.462 GB, free: 1.863 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003393/1.503, allocations: 194.5 kB / 1.462 GB, free: 1.664 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/1.505, allocations: 494 kB / 1.462 GB, free: 1.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3649/1.87, allocations: 321.2 MB / 1.776 GB, free: 15.83 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/1.87, allocations: 130.4 kB / 1.776 GB, free: 15.7 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/1.871, allocations: 184 kB / 1.776 GB, free: 15.52 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/1.874, allocations: 1.668 MB / 1.778 GB, free: 13.8 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.874, allocations: 0 / 1.778 GB, free: 13.8 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.874, allocations: 56 kB / 1.778 GB, free: 13.74 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/1.874, allocations: 28 kB / 1.778 GB, free: 13.71 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/1.877, allocations: 1.722 MB / 1.78 GB, free: 11.98 MB / 1.467 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8181/2.695, allocations: 76.97 MB / 1.855 GB, free: 0.5242 GB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/2.698, allocations: 1.289 MB / 1.856 GB, free: 0.5239 GB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/2.7, allocations: 0.7618 MB / 1.857 GB, free: 0.5237 GB / 1.529 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/2.7, allocations: 34.58 kB / 1.857 GB, free: 0.5237 GB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/2.702, allocations: 0.9806 MB / 1.858 GB, free: 0.5235 GB / 1.529 GB Notification: Performance of pre-optimization done (n=118): time 5.33e-06/2.702, allocations: 2.625 kB / 1.858 GB, free: 0.5235 GB / 1.529 GB Notification: Performance of matching and sorting (n=118): time 0.006998/2.709, allocations: 3.028 MB / 1.861 GB, free: 0.5228 GB / 1.529 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000241/2.709, allocations: 343.6 kB / 1.861 GB, free: 0.5225 GB / 1.529 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4202/3.129, allocations: 379.7 MB / 2.232 GB, free: 201.5 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.000539/3.13, allocations: 69.7 kB / 2.232 GB, free: 201.4 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/3.132, allocations: 1.62 MB / 2.234 GB, free: 199.9 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/3.132, allocations: 407.3 kB / 2.234 GB, free: 199.5 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006656/3.133, allocations: 0.5112 MB / 2.234 GB, free: 199 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 4.564e-05/3.133, allocations: 305.1 kB / 2.235 GB, free: 198.7 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/3.134, allocations: 1.437 MB / 2.236 GB, free: 197.3 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/3.136, allocations: 2.171 MB / 2.238 GB, free: 194.8 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/3.14, allocations: 3.542 MB / 2.242 GB, free: 191 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/3.14, allocations: 5.594 kB / 2.242 GB, free: 191 MB / 1.529 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006999/3.147, allocations: 4.273 MB / 2.246 GB, free: 186.7 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/3.147, allocations: 185.6 kB / 2.246 GB, free: 186.5 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/3.147, allocations: 20 kB / 2.246 GB, free: 186.5 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/3.147, allocations: 39.17 kB / 2.246 GB, free: 186.4 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/3.149, allocations: 474.1 kB / 2.247 GB, free: 186 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.374e-05/3.149, allocations: 46.05 kB / 2.247 GB, free: 185.9 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/3.152, allocations: 0.5665 MB / 2.247 GB, free: 185.4 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/3.153, allocations: 108 kB / 2.247 GB, free: 185.3 MB / 1.529 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 18 (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 (265): * Single equations (assignments): 264 * Array equations: 0 * 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.002692/3.155, allocations: 1.66 MB / 2.249 GB, free: 183.6 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002108/3.157, allocations: 374.9 kB / 2.249 GB, free: 183.3 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/3.162, allocations: 3.057 MB / 2.252 GB, free: 180.2 MB / 1.529 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/3.162, allocations: 8 kB / 2.252 GB, free: 180.2 MB / 1.529 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/3.162, allocations: 0 / 2.252 GB, free: 180.2 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/3.162, allocations: 7.922 kB / 2.252 GB, free: 180.2 MB / 1.529 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/3.167, allocations: 2.814 MB / 2.255 GB, free: 177.3 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/3.167, allocations: 3.984 kB / 2.255 GB, free: 177.3 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/3.168, allocations: 159.7 kB / 2.255 GB, free: 177.2 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/3.168, allocations: 4 kB / 2.255 GB, free: 177.2 MB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/3.168, allocations: 43.97 kB / 2.255 GB, free: 177.1 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/3.168, allocations: 0 / 2.255 GB, free: 177.1 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/3.168, allocations: 4 kB / 2.255 GB, free: 177.1 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/3.173, allocations: 2.842 MB / 2.258 GB, free: 174.2 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/3.175, allocations: 1.259 MB / 2.259 GB, free: 173 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/3.177, allocations: 29.59 kB / 2.259 GB, free: 172.9 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/3.179, allocations: 310.4 kB / 2.259 GB, free: 172.6 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/3.179, allocations: 88.77 kB / 2.26 GB, free: 172.5 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/3.179, allocations: 47.97 kB / 2.26 GB, free: 172.5 MB / 1.529 GB Notification: Performance of sorting global known variables: time 1.027/4.206, allocations: 305.4 MB / 2.558 GB, free: 477.2 MB / 1.545 GB Notification: Performance of sort global known variables: time 5.61e-07/4.206, allocations: 0 / 2.558 GB, free: 477.2 MB / 1.545 GB Notification: Performance of remove unused functions: time 0.00583/4.212, allocations: 1.253 MB / 2.559 GB, free: 476.2 MB / 1.545 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.01076/4.223, allocations: 4.276 MB / 2.563 GB, free: 472.7 MB / 1.545 GB Notification: Performance of simCode: created initialization part: time 0.005096/4.228, allocations: 3.325 MB / 2.566 GB, free: 469.8 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/4.228, allocations: 0 / 2.566 GB, free: 469.8 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/4.23, allocations: 1.43 MB / 2.568 GB, free: 468.5 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/4.234, allocations: 0.4902 MB / 2.568 GB, free: 468.1 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.612/6.846, allocations: 1.504 GB / 4.073 GB, free: 126.8 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/6.848, allocations: 2.363 MB / 4.075 GB, free: 124.4 MB / 1.545 GB Notification: Performance of simCode: alias equations: time 0.003888/6.852, allocations: 1.251 MB / 4.076 GB, free: 123.2 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004164/6.856, allocations: 1.761 MB / 4.078 GB, free: 121.5 MB / 1.545 GB Notification: Performance of SimCode: time 2.675e-06/6.856, allocations: 0 / 4.078 GB, free: 121.5 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.097/7.953, allocations: 271.5 MB / 4.343 GB, free: 453.5 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/25.1, allocations: 0 / 4.343 GB, free: 453.5 MB / 1.545 GB " [Timeout remaining time 275] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 31.755459411011543] Failed to read output from testmodel.py, exit status != 0: 25.324755424982868 25.347040224 23.858576168 Calling exit ...