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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0007994/0.0007993, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005942/0.005942, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.59/2.59, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 10.88 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2872, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007349/0.2946, allocations: 6.776 MB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1506/0.4453, allocations: 151.1 MB / 1.213 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009814/0.4463, allocations: 27.88 kB / 1.213 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004231/0.4505, allocations: 1.655 MB / 1.215 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.4527, allocations: 0.7328 MB / 1.215 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.4547, allocations: 0.8989 MB / 1.216 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00336/0.4581, allocations: 3.496 MB / 1.22 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.4593, allocations: 0.8632 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.4607, allocations: 0.9182 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.462, allocations: 0.8829 MB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.4623, allocations: 48 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.4652, allocations: 1.966 MB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.4667, allocations: 1.894 MB / 1.226 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.4689, allocations: 1.839 MB / 1.228 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006528/0.4754, allocations: 7.494 MB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4754, allocations: 0 / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4754, allocations: 0 / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.111e-05/0.4755, allocations: 0 / 1.235 GB, free: 15.61 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.008153/0.4837, allocations: 5.126 MB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4837, allocations: 12.02 kB / 1.24 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.4839, allocations: 194.5 kB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.4851, allocations: 479.5 kB / 1.241 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7385/1.224, allocations: 321.1 MB / 1.554 GB, free: 3.375 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.224, allocations: 134.4 kB / 1.554 GB, free: 3.242 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/1.224, allocations: 180 kB / 1.555 GB, free: 3.066 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/1.227, allocations: 1.676 MB / 1.556 GB, free: 1.328 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.227, allocations: 0 / 1.556 GB, free: 1.328 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/1.228, allocations: 51.72 kB / 1.556 GB, free: 1.281 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/1.228, allocations: 36 kB / 1.556 GB, free: 1.246 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/1.23, allocations: 1.73 MB / 1.558 GB, free: 15.51 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06092/1.291, allocations: 77.09 MB / 1.633 GB, free: 2.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/1.294, allocations: 1.588 MB / 1.635 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/1.295, allocations: 1.043 MB / 1.636 GB, free: 15.58 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/1.295, allocations: 32.86 kB / 1.636 GB, free: 15.55 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/1.297, allocations: 0.986 MB / 1.637 GB, free: 14.56 MB / 1.186 GB Notification: Performance of pre-optimization done (n=118): time 3.306e-06/1.297, allocations: 0 / 1.637 GB, free: 14.56 MB / 1.186 GB Notification: Performance of matching and sorting (n=118): time 0.005292/1.302, allocations: 3.023 MB / 1.64 GB, free: 11.52 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/1.303, allocations: 342.5 kB / 1.64 GB, free: 11.14 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.887/2.19, allocations: 379.7 MB / 2.011 GB, free: 198.7 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0003308/2.19, allocations: 69.7 kB / 2.011 GB, free: 198.7 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/2.191, allocations: 1.604 MB / 2.013 GB, free: 197.2 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/2.192, allocations: 390.3 kB / 2.013 GB, free: 197 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/2.192, allocations: 278.2 kB / 2.013 GB, free: 196.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 3.733e-05/2.192, allocations: 304.9 kB / 2.013 GB, free: 196.4 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/2.193, allocations: 1.437 MB / 2.015 GB, free: 195 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/2.195, allocations: 2.178 MB / 2.017 GB, free: 192.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/2.198, allocations: 3.553 MB / 2.02 GB, free: 188.7 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/2.198, allocations: 4 kB / 2.02 GB, free: 188.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004787/2.203, allocations: 4.268 MB / 2.025 GB, free: 184.4 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/2.203, allocations: 185.6 kB / 2.025 GB, free: 184.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/2.203, allocations: 24 kB / 2.025 GB, free: 184.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/2.203, allocations: 32 kB / 2.025 GB, free: 184.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/2.205, allocations: 479.1 kB / 2.025 GB, free: 183.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/2.205, allocations: 46.81 kB / 2.025 GB, free: 183.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/2.207, allocations: 0.5679 MB / 2.026 GB, free: 183.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/2.207, allocations: 112.7 kB / 2.026 GB, free: 183 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.001463/2.208, allocations: 1.664 MB / 2.028 GB, free: 181.3 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/2.209, allocations: 351.3 kB / 2.028 GB, free: 181 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/2.212, allocations: 3.048 MB / 2.031 GB, free: 177.9 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/2.212, allocations: 8 kB / 2.031 GB, free: 177.9 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/2.212, allocations: 0 / 2.031 GB, free: 177.9 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/2.212, allocations: 7.984 kB / 2.031 GB, free: 177.9 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/2.214, allocations: 2.817 MB / 2.034 GB, free: 175.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/2.214, allocations: 0 / 2.034 GB, free: 175.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/2.215, allocations: 163.7 kB / 2.034 GB, free: 174.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/2.215, allocations: 4 kB / 2.034 GB, free: 174.9 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/2.215, allocations: 40.84 kB / 2.034 GB, free: 174.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/2.215, allocations: 4.875 kB / 2.034 GB, free: 174.9 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/2.215, allocations: 0 / 2.034 GB, free: 174.9 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/2.218, allocations: 2.825 MB / 2.037 GB, free: 172 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/2.219, allocations: 1.253 MB / 2.038 GB, free: 170.7 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/2.219, allocations: 27.94 kB / 2.038 GB, free: 170.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/2.221, allocations: 331.9 kB / 2.038 GB, free: 170.4 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/2.221, allocations: 77.98 kB / 2.038 GB, free: 170.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/2.221, allocations: 59.09 kB / 2.038 GB, free: 170.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.6243/2.846, allocations: 305.3 MB / 2.337 GB, free: 348.6 MB / 1.264 GB Notification: Performance of sort global known variables: time 6.51e-07/2.846, allocations: 0 / 2.337 GB, free: 348.6 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003629/2.849, allocations: 1.239 MB / 2.338 GB, free: 347.5 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.005247/2.854, allocations: 4.241 MB / 2.342 GB, free: 343.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003791/2.858, allocations: 4.624 MB / 2.346 GB, free: 339.3 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.858, allocations: 0 / 2.346 GB, free: 339.3 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/2.86, allocations: 2.25 MB / 2.349 GB, free: 337 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/2.862, allocations: 470.2 kB / 2.349 GB, free: 336.5 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.289/5.151, allocations: 1.516 GB / 3.865 GB, free: 287.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/5.153, allocations: 2.361 MB / 3.867 GB, free: 285.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002469/5.155, allocations: 1.252 MB / 3.868 GB, free: 284.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/5.158, allocations: 1.758 MB / 3.87 GB, free: 282.4 MB / 1.279 GB Notification: Performance of SimCode: time 6.72e-07/5.158, allocations: 0 / 3.87 GB, free: 282.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.282/7.439, allocations: 192.7 MB / 4.058 GB, free: 91.32 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/7.439, allocations: 290.1 kB / 4.058 GB, free: 90.95 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.859/12.3, allocations: 4 kB / 4.058 GB, free: 90.94 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)