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) 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 12.0.0-master/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005461/0.005461, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001304/0.001304, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.558/2.558, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 71.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2534, allocations: 162.3 MB / 1.242 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007911/0.2613, allocations: 7.267 MB / 1.249 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6131/0.8744, allocations: 155.5 MB / 1.401 GB, free: 11.98 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.8755, allocations: 29.84 kB / 1.401 GB, free: 11.97 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.8797, allocations: 1.813 MB / 1.403 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.882, allocations: 0.8388 MB / 1.403 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.8843, allocations: 1.037 MB / 1.404 GB, free: 9.344 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00291/0.8872, allocations: 3.563 MB / 1.408 GB, free: 7.199 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.8882, allocations: 0.9239 MB / 1.409 GB, free: 6.617 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.8894, allocations: 1.16 MB / 1.41 GB, free: 5.957 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.8905, allocations: 1.053 MB / 1.411 GB, free: 5.258 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.8908, allocations: 193.8 kB / 1.411 GB, free: 5.258 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.8939, allocations: 2.244 MB / 1.413 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.8953, allocations: 2.052 MB / 1.415 GB, free: 3.113 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.8972, allocations: 2.146 MB / 1.417 GB, free: 1.543 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006594/0.9038, allocations: 7.879 MB / 1.425 GB, free: 11.57 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.9039, allocations: 4 kB / 1.425 GB, free: 11.56 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9039, allocations: 0 / 1.425 GB, free: 11.56 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.663e-05/0.9039, allocations: 0 / 1.425 GB, free: 11.56 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.008913/0.9128, allocations: 6.391 MB / 1.431 GB, free: 5.086 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.9129, allocations: 8.031 kB / 1.431 GB, free: 5.078 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.9131, allocations: 194.5 kB / 1.432 GB, free: 4.879 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.9143, allocations: 492.6 kB / 1.432 GB, free: 4.398 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2819/1.196, allocations: 321.2 MB / 1.746 GB, free: 3.055 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.196, allocations: 134.4 kB / 1.746 GB, free: 2.922 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/1.197, allocations: 176 kB / 1.746 GB, free: 2.75 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/1.199, allocations: 1.668 MB / 1.748 GB, free: 1.02 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.199, allocations: 0 / 1.748 GB, free: 1.02 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.199, allocations: 52 kB / 1.748 GB, free: 0.9688 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/1.199, allocations: 35.94 kB / 1.748 GB, free: 0.9336 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/1.202, allocations: 1.726 MB / 1.749 GB, free: 15.2 MB / 1.451 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05827/1.26, allocations: 76.97 MB / 1.825 GB, free: 2.016 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/1.262, allocations: 1.583 MB / 1.826 GB, free: 440 kB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4708/1.733, allocations: 1.03 MB / 1.827 GB, free: 0.5197 GB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/1.733, allocations: 35.05 kB / 1.827 GB, free: 0.5197 GB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/1.735, allocations: 0.981 MB / 1.828 GB, free: 0.5196 GB / 1.514 GB Notification: Performance of pre-optimization done (n=118): time 2.786e-06/1.735, allocations: 1.281 kB / 1.828 GB, free: 0.5196 GB / 1.514 GB Notification: Performance of matching and sorting (n=118): time 0.00489/1.739, allocations: 3.03 MB / 1.831 GB, free: 0.5192 GB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.74, allocations: 348.3 kB / 1.831 GB, free: 0.5189 GB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3285/2.068, allocations: 379.7 MB / 2.202 GB, free: 199.3 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.0002998/2.068, allocations: 69.7 kB / 2.202 GB, free: 199.3 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/2.07, allocations: 1.62 MB / 2.204 GB, free: 197.7 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/2.07, allocations: 409.4 kB / 2.204 GB, free: 197.4 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006015/2.071, allocations: 0.5087 MB / 2.205 GB, free: 196.9 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 3.076e-05/2.071, allocations: 303.4 kB / 2.205 GB, free: 196.6 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/2.072, allocations: 1.437 MB / 2.206 GB, free: 195.1 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/2.074, allocations: 2.167 MB / 2.209 GB, free: 192.7 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/2.077, allocations: 3.544 MB / 2.212 GB, free: 188.9 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/2.077, allocations: 4 kB / 2.212 GB, free: 188.9 MB / 1.514 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004751/2.081, allocations: 4.277 MB / 2.216 GB, free: 184.6 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/2.082, allocations: 186.4 kB / 2.216 GB, free: 184.4 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/2.082, allocations: 20 kB / 2.216 GB, free: 184.4 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/2.082, allocations: 39.98 kB / 2.216 GB, free: 184.4 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/2.083, allocations: 481.7 kB / 2.217 GB, free: 183.9 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/2.083, allocations: 43.86 kB / 2.217 GB, free: 183.8 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/2.085, allocations: 0.557 MB / 2.217 GB, free: 183.4 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/2.085, allocations: 115.7 kB / 2.218 GB, free: 183.3 MB / 1.514 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.001323/2.087, allocations: 1.666 MB / 2.219 GB, free: 181.6 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/2.088, allocations: 370.7 kB / 2.22 GB, free: 181.2 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/2.091, allocations: 3.03 MB / 2.223 GB, free: 178.2 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/2.091, allocations: 12 kB / 2.223 GB, free: 178.2 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.091, allocations: 0 / 2.223 GB, free: 178.2 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/2.091, allocations: 3.984 kB / 2.223 GB, free: 178.2 MB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/2.093, allocations: 2.83 MB / 2.225 GB, free: 175.3 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/2.093, allocations: 3.984 kB / 2.225 GB, free: 175.3 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/2.094, allocations: 163.7 kB / 2.225 GB, free: 175.2 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/2.094, allocations: 4 kB / 2.225 GB, free: 175.2 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/2.094, allocations: 32.83 kB / 2.225 GB, free: 175.1 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/2.094, allocations: 8.062 kB / 2.226 GB, free: 175.1 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/2.094, allocations: 0 / 2.226 GB, free: 175.1 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/2.097, allocations: 2.835 MB / 2.228 GB, free: 172.3 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/2.098, allocations: 1.257 MB / 2.23 GB, free: 171 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/2.098, allocations: 25.97 kB / 2.23 GB, free: 171 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/2.1, allocations: 303.9 kB / 2.23 GB, free: 170.7 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/2.1, allocations: 81.97 kB / 2.23 GB, free: 170.6 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/2.1, allocations: 51.97 kB / 2.23 GB, free: 170.6 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.6346/2.735, allocations: 305.3 MB / 2.528 GB, free: 469.5 MB / 1.529 GB Notification: Performance of sort global known variables: time 7.71e-07/2.735, allocations: 0 / 2.528 GB, free: 469.5 MB / 1.529 GB Notification: Performance of remove unused functions: time 0.003208/2.738, allocations: 1.255 MB / 2.529 GB, free: 468.4 MB / 1.529 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.006247/2.744, allocations: 4.246 MB / 2.534 GB, free: 465.1 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.003562/2.748, allocations: 4.624 MB / 2.538 GB, free: 460.9 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/2.748, allocations: 0 / 2.538 GB, free: 460.9 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/2.749, allocations: 2.249 MB / 2.54 GB, free: 458.8 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/2.751, allocations: 497 kB / 2.541 GB, free: 458.4 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.81/4.561, allocations: 1.504 GB / 4.045 GB, free: 107.7 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/4.563, allocations: 2.362 MB / 4.047 GB, free: 105.3 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.00237/4.565, allocations: 1.248 MB / 4.048 GB, free: 104.2 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00207/4.567, allocations: 1.763 MB / 4.05 GB, free: 102.4 MB / 1.529 GB Notification: Performance of SimCode: time 7.02e-07/4.567, allocations: 4 kB / 4.05 GB, free: 102.4 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 18.66/23.23, allocations: 253.1 MB / 4.297 GB, free: 447.6 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.34/61.57, allocations: 14.56 kB / 4.297 GB, free: 447.6 MB / 1.529 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)