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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, 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.001364/0.001364, allocations: 195.5 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.555/2.555, allocations: 469.8 MB / 0.7424 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 68.44 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2452, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.00871/0.2539, allocations: 7.257 MB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.4153, allocations: 155.5 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.4163, allocations: 23.88 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004169/0.4205, allocations: 1.817 MB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.4228, allocations: 0.836 MB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.425, allocations: 1.026 MB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.4282, allocations: 3.555 MB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4293, allocations: 0.921 MB / 1.231 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.4305, allocations: 1.149 MB / 1.232 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.4317, allocations: 1.061 MB / 1.233 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.432, allocations: 196 kB / 1.233 GB, free: 144 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.435, allocations: 2.204 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.4366, allocations: 2.054 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.4386, allocations: 2.15 MB / 1.24 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006837/0.4455, allocations: 7.768 MB / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4455, allocations: 0 / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4455, allocations: 0 / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.806e-05/0.4455, allocations: 4 kB / 1.247 GB, free: 1.922 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.3999/0.8455, allocations: 6.229 MB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.8455, allocations: 9.062 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.8457, allocations: 198.2 kB / 1.253 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.8471, allocations: 469.7 kB / 1.254 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2309/1.078, allocations: 321.1 MB / 1.567 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/1.078, allocations: 130.4 kB / 1.568 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/1.079, allocations: 180 kB / 1.568 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/1.081, allocations: 1.673 MB / 1.569 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/1.081, allocations: 7.688 kB / 1.569 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.082, allocations: 52 kB / 1.569 GB, free: 12.59 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/1.082, allocations: 28 kB / 1.57 GB, free: 12.56 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/1.084, allocations: 1.719 MB / 1.571 GB, free: 10.83 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06279/1.147, allocations: 77.01 MB / 1.646 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/1.15, allocations: 1.581 MB / 1.648 GB, free: 12.04 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/1.151, allocations: 1.037 MB / 1.649 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/1.151, allocations: 35.45 kB / 1.649 GB, free: 10.97 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/1.152, allocations: 0.9734 MB / 1.65 GB, free: 9.988 MB / 1.201 GB Notification: Performance of pre-optimization done (n=118): time 2.975e-06/1.152, allocations: 0 / 1.65 GB, free: 9.988 MB / 1.201 GB Notification: Performance of matching and sorting (n=118): time 0.00534/1.157, allocations: 3.009 MB / 1.653 GB, free: 6.965 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/1.158, allocations: 346.5 kB / 1.653 GB, free: 6.578 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.753/1.911, allocations: 379.7 MB / 2.024 GB, free: 172 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/1.911, allocations: 77.7 kB / 2.024 GB, free: 172 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/1.913, allocations: 1.602 MB / 2.026 GB, free: 170.5 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/1.913, allocations: 389.6 kB / 2.026 GB, free: 170.3 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006274/1.914, allocations: 0.5127 MB / 2.026 GB, free: 169.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 2.922e-05/1.914, allocations: 305.6 kB / 2.027 GB, free: 169.4 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/1.915, allocations: 1.438 MB / 2.028 GB, free: 168 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/1.917, allocations: 2.168 MB / 2.03 GB, free: 165.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/1.92, allocations: 3.539 MB / 2.034 GB, free: 161.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.92, allocations: 8 kB / 2.034 GB, free: 161.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004948/1.925, allocations: 4.256 MB / 2.038 GB, free: 157.5 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.925, allocations: 189.6 kB / 2.038 GB, free: 157.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/1.925, allocations: 20.75 kB / 2.038 GB, free: 157.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.925, allocations: 35.94 kB / 2.038 GB, free: 157.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.926, allocations: 479 kB / 2.039 GB, free: 156.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/1.926, allocations: 43.86 kB / 2.039 GB, free: 156.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.928, allocations: 0.5447 MB / 2.039 GB, free: 156.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/1.929, allocations: 116 kB / 2.039 GB, free: 156.1 MB / 1.264 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.001341/1.93, allocations: 1.662 MB / 2.041 GB, free: 154.4 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009613/1.931, allocations: 348.4 kB / 2.041 GB, free: 154 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/1.934, allocations: 3.042 MB / 2.044 GB, free: 151 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.934, allocations: 15.92 kB / 2.044 GB, free: 151 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.934, allocations: 0 / 2.044 GB, free: 151 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-05/1.934, allocations: 5.812 kB / 2.044 GB, free: 151 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/1.936, allocations: 2.82 MB / 2.047 GB, free: 148.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.936, allocations: 0 / 2.047 GB, free: 148.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/1.937, allocations: 163.8 kB / 2.047 GB, free: 148 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.937, allocations: 8 kB / 2.047 GB, free: 147.9 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/1.937, allocations: 31.98 kB / 2.047 GB, free: 147.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.937, allocations: 7.938 kB / 2.047 GB, free: 147.9 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.937, allocations: 0 / 2.047 GB, free: 147.9 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/1.94, allocations: 2.817 MB / 2.05 GB, free: 145.1 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.941, allocations: 1.23 MB / 2.051 GB, free: 143.8 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000493/1.941, allocations: 39.84 kB / 2.051 GB, free: 143.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.943, allocations: 303.9 kB / 2.051 GB, free: 143.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.943, allocations: 80.88 kB / 2.052 GB, free: 143.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/1.943, allocations: 47.98 kB / 2.052 GB, free: 143.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.5867/2.53, allocations: 305.3 MB / 2.35 GB, free: 347.2 MB / 1.279 GB Notification: Performance of sort global known variables: time 6.21e-07/2.53, allocations: 4.562 kB / 2.35 GB, free: 347.2 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003167/2.533, allocations: 1.242 MB / 2.351 GB, free: 346.1 MB / 1.279 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.005935/2.539, allocations: 4.226 MB / 2.355 GB, free: 342.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004609/2.543, allocations: 5.272 MB / 2.36 GB, free: 337.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/2.543, allocations: 4 kB / 2.36 GB, free: 337.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/2.545, allocations: 2.239 MB / 2.362 GB, free: 334.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/2.547, allocations: 0.49 MB / 2.363 GB, free: 334.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.021/4.568, allocations: 1.515 GB / 3.878 GB, free: 249.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/4.569, allocations: 2.361 MB / 3.88 GB, free: 247.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002193/4.572, allocations: 1.247 MB / 3.881 GB, free: 246.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/4.573, allocations: 1.757 MB / 3.883 GB, free: 244.4 MB / 1.279 GB Notification: Performance of SimCode: time 2.003e-06/4.573, allocations: 2.656 kB / 3.883 GB, free: 244.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.441/9.014, allocations: 255.4 MB / 4.133 GB, free: 6.449 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/24.22, allocations: 8.359 kB / 4.133 GB, free: 6.441 MB / 1.295 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)