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 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.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.001597/0.001597, 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.001403/0.001403, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.52 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3518, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009907/0.3618, allocations: 7.271 MB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.178/0.5398, allocations: 155.5 MB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.5416, allocations: 27.88 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004796/0.5464, allocations: 1.813 MB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.549, allocations: 0.8424 MB / 1.214 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.5515, allocations: 1.021 MB / 1.215 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.555, allocations: 3.563 MB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.5562, allocations: 0.9172 MB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.5579, allocations: 1.153 MB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.5593, allocations: 1.062 MB / 1.222 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.5596, allocations: 196 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.5634, allocations: 2.208 MB / 1.224 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.5649, allocations: 2.054 MB / 1.226 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.5671, allocations: 2.15 MB / 1.228 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008932/0.5761, allocations: 7.765 MB / 1.236 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5761, allocations: 0 / 1.236 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5761, allocations: 4 kB / 1.236 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.98e-05/0.5762, allocations: 0 / 1.236 GB, free: 12.05 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.01324/0.5895, allocations: 6.239 MB / 1.242 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.5895, allocations: 8.625 kB / 1.242 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/0.5898, allocations: 194.5 kB / 1.242 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.5915, allocations: 467.5 kB / 1.243 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8861/1.478, allocations: 321.1 MB / 1.556 GB, free: 1.41 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/1.478, allocations: 130.4 kB / 1.556 GB, free: 1.281 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/1.478, allocations: 180 kB / 1.557 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/1.481, allocations: 1.664 MB / 1.558 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.482, allocations: 0 / 1.558 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/1.482, allocations: 52 kB / 1.558 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/1.482, allocations: 32 kB / 1.558 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/1.484, allocations: 1.726 MB / 1.56 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05857/1.543, allocations: 77.01 MB / 1.635 GB, free: 380 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/1.545, allocations: 1.581 MB / 1.637 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/1.547, allocations: 1.031 MB / 1.638 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/1.547, allocations: 37.17 kB / 1.638 GB, free: 13.72 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/1.548, allocations: 0.985 MB / 1.639 GB, free: 12.72 MB / 1.186 GB Notification: Performance of pre-optimization done (n=118): time 3.377e-06/1.548, allocations: 0 / 1.639 GB, free: 12.72 MB / 1.186 GB Notification: Performance of matching and sorting (n=118): time 0.005554/1.554, allocations: 3.007 MB / 1.642 GB, free: 9.699 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/1.554, allocations: 350.5 kB / 1.642 GB, free: 9.309 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.019/2.573, allocations: 379.7 MB / 2.013 GB, free: 199.8 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005212/2.573, allocations: 69.7 kB / 2.013 GB, free: 199.7 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/2.575, allocations: 1.603 MB / 2.014 GB, free: 198.2 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/2.576, allocations: 387.6 kB / 2.015 GB, free: 198 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006235/2.577, allocations: 0.5158 MB / 2.015 GB, free: 197.5 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/2.577, allocations: 304.9 kB / 2.016 GB, free: 197.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/2.578, allocations: 1.44 MB / 2.017 GB, free: 195.8 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/2.58, allocations: 2.17 MB / 2.019 GB, free: 193.3 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/2.584, allocations: 3.541 MB / 2.023 GB, free: 189.5 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/2.584, allocations: 8 kB / 2.023 GB, free: 189.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007109/2.591, allocations: 4.26 MB / 2.027 GB, free: 185.2 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/2.591, allocations: 181.6 kB / 2.027 GB, free: 185.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/2.591, allocations: 21.31 kB / 2.027 GB, free: 185 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/2.591, allocations: 32 kB / 2.027 GB, free: 185 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/2.593, allocations: 475.2 kB / 2.027 GB, free: 184.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.678e-05/2.593, allocations: 48.22 kB / 2.027 GB, free: 184.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/2.596, allocations: 0.551 MB / 2.028 GB, free: 183.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/2.596, allocations: 112 kB / 2.028 GB, free: 183.8 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.00256/2.599, allocations: 1.661 MB / 2.03 GB, free: 182.2 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/2.601, allocations: 347.3 kB / 2.03 GB, free: 181.8 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/2.605, allocations: 3.039 MB / 2.033 GB, free: 178.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/2.605, allocations: 11.94 kB / 2.033 GB, free: 178.8 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/2.605, allocations: 0 / 2.033 GB, free: 178.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/2.605, allocations: 10.91 kB / 2.033 GB, free: 178.8 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/2.61, allocations: 2.816 MB / 2.036 GB, free: 175.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/2.61, allocations: 0 / 2.036 GB, free: 175.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/2.61, allocations: 159.7 kB / 2.036 GB, free: 175.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-06/2.61, allocations: 11.98 kB / 2.036 GB, free: 175.7 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/2.611, allocations: 35.98 kB / 2.036 GB, free: 175.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/2.611, allocations: 10.19 kB / 2.036 GB, free: 175.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/2.611, allocations: 0 / 2.036 GB, free: 175.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/2.615, allocations: 2.809 MB / 2.039 GB, free: 172.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002297/2.617, allocations: 1.241 MB / 2.04 GB, free: 171.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000943/2.618, allocations: 24 kB / 2.04 GB, free: 171.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/2.62, allocations: 304.6 kB / 2.04 GB, free: 171.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/2.62, allocations: 88.72 kB / 2.04 GB, free: 171.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/2.62, allocations: 47.97 kB / 2.04 GB, free: 171.1 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.7649/3.385, allocations: 305.3 MB / 2.339 GB, free: 352.4 MB / 1.264 GB Notification: Performance of sort global known variables: time 6.01e-07/3.385, allocations: 0.875 kB / 2.339 GB, free: 352.4 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004139/3.389, allocations: 1.245 MB / 2.34 GB, free: 351.3 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.006395/3.396, allocations: 4.226 MB / 2.344 GB, free: 347.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005178/3.401, allocations: 5.271 MB / 2.349 GB, free: 342.4 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/3.401, allocations: 4 kB / 2.349 GB, free: 342.4 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/3.403, allocations: 2.241 MB / 2.351 GB, free: 340.1 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/3.408, allocations: 499.6 kB / 2.352 GB, free: 339.6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.577/5.985, allocations: 1.515 GB / 3.867 GB, free: 237 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/5.986, allocations: 2.356 MB / 3.869 GB, free: 234.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003278/5.99, allocations: 1.249 MB / 3.87 GB, free: 233.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/5.992, allocations: 1.762 MB / 3.872 GB, free: 231.8 MB / 1.264 GB Notification: Performance of SimCode: time 8.52e-07/5.992, allocations: 3.812 kB / 3.872 GB, free: 231.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/7.416, allocations: 255.4 MB / 4.121 GB, free: 462.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.54/16.96, allocations: 5.109 kB / 4.121 GB, free: 462.9 MB / 1.279 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=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)