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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",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.001315/0.001315, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.507/2.507, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 60.67 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.266, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01001/0.276, allocations: 8.535 MB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1536/0.4297, allocations: 159.4 MB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.4314, allocations: 43.75 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.4363, allocations: 1.992 MB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.4397, allocations: 1.251 MB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.4431, allocations: 1.439 MB / 1.222 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005301/0.4484, allocations: 5.419 MB / 1.227 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.4504, allocations: 1.231 MB / 1.228 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.4534, allocations: 1.711 MB / 1.23 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.456, allocations: 1.561 MB / 1.231 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009223/0.4569, allocations: 292 kB / 1.232 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00445/0.4614, allocations: 2.536 MB / 1.234 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003572/0.465, allocations: 4.78 MB / 1.239 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006768/0.4718, allocations: 4.872 MB / 1.243 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5284/1, allocations: 17.7 MB / 1.261 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1, allocations: 0 / 1.261 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/1, allocations: 2.875 kB / 1.261 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002343/1.001, allocations: 0 / 1.261 GB, free: 17.83 MB / 0.9981 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.03388/1.034, allocations: 14.1 MB / 1.274 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/1.034, allocations: 10 kB / 1.274 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003802/1.035, allocations: 245.1 kB / 1.275 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/1.04, allocations: 0.9142 MB / 1.276 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.674/2.714, allocations: 0.9969 GB / 2.273 GB, free: 0.599 GB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/2.714, allocations: 175.8 kB / 2.273 GB, free: 0.599 GB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007495/2.715, allocations: 234.9 kB / 2.273 GB, free: 0.599 GB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004537/2.719, allocations: 2.371 MB / 2.275 GB, free: 0.5988 GB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/2.719, allocations: 4.844 kB / 2.275 GB, free: 0.5988 GB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/2.72, allocations: 69.03 kB / 2.275 GB, free: 0.5988 GB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/2.72, allocations: 38.72 kB / 2.275 GB, free: 0.5988 GB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003795/2.723, allocations: 2.465 MB / 2.278 GB, free: 0.5984 GB / 1.436 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1296/2.853, allocations: 243.1 MB / 2.515 GB, free: 387.9 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/2.856, allocations: 1.981 MB / 2.517 GB, free: 385.9 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/2.858, allocations: 1.281 MB / 2.518 GB, free: 384.7 MB / 1.436 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/2.858, allocations: 34.36 kB / 2.518 GB, free: 384.6 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/2.859, allocations: 1.362 MB / 2.52 GB, free: 383.3 MB / 1.436 GB Notification: Performance of pre-optimization done (n=138): time 3.226e-06/2.859, allocations: 4 kB / 2.52 GB, free: 383.2 MB / 1.436 GB Notification: Performance of matching and sorting (n=138): time 0.01202/2.871, allocations: 4.318 MB / 2.524 GB, free: 378.9 MB / 1.436 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/2.872, allocations: 366.5 kB / 2.524 GB, free: 378.5 MB / 1.436 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.99/4.862, allocations: 1.182 GB / 3.707 GB, free: 462.3 MB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.000651/4.862, allocations: 85.7 kB / 3.707 GB, free: 462.3 MB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.005413/4.868, allocations: 3.739 MB / 3.71 GB, free: 458.7 MB / 1.436 GB Notification: Performance of collectInitialBindings (initialization): time 0.000554/4.868, allocations: 454.1 kB / 3.711 GB, free: 458.5 MB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/4.87, allocations: 0.6779 MB / 3.711 GB, free: 457.8 MB / 1.436 GB Notification: Performance of setup shared object (initialization): time 3.092e-05/4.87, allocations: 301.1 kB / 3.712 GB, free: 457.5 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/4.872, allocations: 1.932 MB / 3.714 GB, free: 455.6 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/4.874, allocations: 2.877 MB / 3.716 GB, free: 452.3 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/4.878, allocations: 4.618 MB / 3.721 GB, free: 447.3 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/4.878, allocations: 8.75 kB / 3.721 GB, free: 447.3 MB / 1.436 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01025/4.888, allocations: 5.978 MB / 3.727 GB, free: 441.3 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/4.889, allocations: 205.8 kB / 3.727 GB, free: 441.1 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/4.889, allocations: 28 kB / 3.727 GB, free: 441.1 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005377/4.889, allocations: 124.8 kB / 3.727 GB, free: 441 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/4.891, allocations: 0.614 MB / 3.728 GB, free: 440.4 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08644/4.977, allocations: 1.688 MB / 3.729 GB, free: 438.5 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006551/4.984, allocations: 1.17 MB / 3.731 GB, free: 437.4 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/4.984, allocations: 152 kB / 3.731 GB, free: 437.2 MB / 1.436 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (345): * Single equations (assignments): 343 * Array equations: 0 * 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.004214/4.988, allocations: 3.844 MB / 3.734 GB, free: 433.3 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003839/4.992, allocations: 0.7477 MB / 3.735 GB, free: 432.6 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/4.997, allocations: 4.368 MB / 3.739 GB, free: 428.2 MB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/4.997, allocations: 12 kB / 3.739 GB, free: 428.2 MB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/4.997, allocations: 0 / 3.739 GB, free: 428.2 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/4.997, allocations: 3.984 kB / 3.739 GB, free: 428.2 MB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/5.003, allocations: 6.778 MB / 3.746 GB, free: 421.4 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/5.003, allocations: 0 / 3.746 GB, free: 421.4 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/5.004, allocations: 207.7 kB / 3.746 GB, free: 421.2 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/5.005, allocations: 76.72 kB / 3.746 GB, free: 421.1 MB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.579e-05/5.005, allocations: 43.97 kB / 3.746 GB, free: 421.1 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/5.006, allocations: 1.655 MB / 3.748 GB, free: 419.3 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/5.006, allocations: 0 / 3.748 GB, free: 419.3 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/5.012, allocations: 3.872 MB / 3.752 GB, free: 415.4 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003811/5.016, allocations: 3.138 MB / 3.755 GB, free: 412.2 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/5.017, allocations: 35.94 kB / 3.755 GB, free: 412.2 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/5.02, allocations: 0.7505 MB / 3.756 GB, free: 411.4 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/5.021, allocations: 109.2 kB / 3.756 GB, free: 411.3 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/5.021, allocations: 63.97 kB / 3.756 GB, free: 411.2 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.9576/5.978, allocations: 0.9475 GB / 4.703 GB, free: 87.42 MB / 1.436 GB Notification: Performance of sort global known variables: time 1.603e-06/5.978, allocations: 0 / 4.703 GB, free: 87.42 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.007664/5.986, allocations: 1.883 MB / 4.705 GB, free: 85.69 MB / 1.436 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.0104/5.997, allocations: 5.354 MB / 4.71 GB, free: 81.1 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.006397/6.003, allocations: 6.566 MB / 4.717 GB, free: 74.54 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/6.003, allocations: 4 kB / 4.717 GB, free: 74.54 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/6.005, allocations: 2.713 MB / 4.719 GB, free: 71.8 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006152/6.011, allocations: 0.8484 MB / 4.72 GB, free: 70.99 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.377/12.39, allocations: 4.835 GB / 9.555 GB, free: 0.5521 GB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003661/12.39, allocations: 4.65 MB / 9.559 GB, free: 0.5513 GB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.006467/12.4, allocations: 3.023 MB / 9.562 GB, free: 0.5509 GB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004891/12.4, allocations: 4.04 MB / 9.566 GB, free: 0.5489 GB / 1.436 GB Notification: Performance of SimCode: time 7.11e-07/12.4, allocations: 0 / 9.566 GB, free: 0.5489 GB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.993/18.4, allocations: 0.7098 GB / 10.28 GB, free: 471.9 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.13/35.53, allocations: 8.188 kB / 10.28 GB, free: 471.9 MB / 1.436 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)