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.001065/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001077/0.001077, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.463/2.463, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.39 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2611, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007717/0.2689, allocations: 7.235 MB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.4182, allocations: 153.4 MB / 1.209 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.4196, allocations: 19.88 kB / 1.209 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004695/0.4243, allocations: 1.666 MB / 1.211 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.4268, allocations: 0.7399 MB / 1.211 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.4298, allocations: 0.899 MB / 1.212 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.4341, allocations: 3.496 MB / 1.216 GB, free: 96 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.4357, allocations: 0.8828 MB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.4375, allocations: 1.032 MB / 1.218 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.4394, allocations: 1.031 MB / 1.219 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000551/0.44, allocations: 104 kB / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.4439, allocations: 2.024 MB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.4458, allocations: 1.965 MB / 1.223 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002961/0.4488, allocations: 1.931 MB / 1.225 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008463/0.4573, allocations: 7.643 MB / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4573, allocations: 0 / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4573, allocations: 0 / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001777/0.4575, allocations: 4 kB / 1.232 GB, free: 15.38 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.01515/0.4726, allocations: 6.224 MB / 1.238 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4727, allocations: 12.03 kB / 1.238 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003844/0.4731, allocations: 198.5 kB / 1.238 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.4755, allocations: 467.5 kB / 1.239 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7324/1.208, allocations: 321.1 MB / 1.552 GB, free: 4.438 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/1.208, allocations: 134.4 kB / 1.552 GB, free: 4.305 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/1.209, allocations: 176 kB / 1.553 GB, free: 4.133 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/1.212, allocations: 1.668 MB / 1.554 GB, free: 2.402 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.212, allocations: 0 / 1.554 GB, free: 2.402 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/1.212, allocations: 48 kB / 1.554 GB, free: 2.355 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/1.212, allocations: 28 kB / 1.554 GB, free: 2.328 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/1.214, allocations: 1.73 MB / 1.556 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05941/1.274, allocations: 77 MB / 1.631 GB, free: 3.402 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/1.277, allocations: 1.577 MB / 1.633 GB, free: 1.816 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/1.278, allocations: 1.039 MB / 1.634 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/1.278, allocations: 40.83 kB / 1.634 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/1.28, allocations: 0.9738 MB / 1.635 GB, free: 15.76 MB / 1.186 GB Notification: Performance of pre-optimization done (n=118): time 4.018e-06/1.28, allocations: 4 kB / 1.635 GB, free: 15.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=118): time 0.005744/1.285, allocations: 3.007 MB / 1.638 GB, free: 12.73 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/1.286, allocations: 350.5 kB / 1.638 GB, free: 12.34 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8482/2.134, allocations: 379.7 MB / 2.009 GB, free: 202.7 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007587/2.135, allocations: 69.7 kB / 2.009 GB, free: 202.6 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00273/2.137, allocations: 1.609 MB / 2.01 GB, free: 201.1 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006312/2.138, allocations: 386.4 kB / 2.011 GB, free: 200.9 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/2.139, allocations: 0.5089 MB / 2.011 GB, free: 200.4 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/2.14, allocations: 309.4 kB / 2.012 GB, free: 200.1 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/2.142, allocations: 1.438 MB / 2.013 GB, free: 198.6 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/2.144, allocations: 2.169 MB / 2.015 GB, free: 196.2 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/2.147, allocations: 3.542 MB / 2.019 GB, free: 192.4 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/2.147, allocations: 4.75 kB / 2.019 GB, free: 192.4 MB / 1.264 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00603/2.153, allocations: 4.256 MB / 2.023 GB, free: 188.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/2.153, allocations: 181.6 kB / 2.023 GB, free: 187.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/2.153, allocations: 28.03 kB / 2.023 GB, free: 187.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/2.154, allocations: 32 kB / 2.023 GB, free: 187.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/2.155, allocations: 479.1 kB / 2.023 GB, free: 187.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.521e-05/2.155, allocations: 43.86 kB / 2.023 GB, free: 187.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/2.158, allocations: 0.5566 MB / 2.024 GB, free: 186.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/2.158, allocations: 112 kB / 2.024 GB, free: 186.7 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.001945/2.16, allocations: 1.665 MB / 2.026 GB, free: 185 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/2.162, allocations: 348 kB / 2.026 GB, free: 184.6 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/2.165, allocations: 3.038 MB / 2.029 GB, free: 181.6 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/2.165, allocations: 12 kB / 2.029 GB, free: 181.6 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.165, allocations: 0 / 2.029 GB, free: 181.6 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/2.165, allocations: 6.859 kB / 2.029 GB, free: 181.6 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/2.169, allocations: 2.819 MB / 2.032 GB, free: 178.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/2.169, allocations: 0 / 2.032 GB, free: 178.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/2.17, allocations: 163.7 kB / 2.032 GB, free: 178.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/2.17, allocations: 4 kB / 2.032 GB, free: 178.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/2.17, allocations: 43.91 kB / 2.032 GB, free: 178.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/2.17, allocations: 7.391 kB / 2.032 GB, free: 178.5 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/2.17, allocations: 0.5625 kB / 2.032 GB, free: 178.5 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/2.174, allocations: 2.809 MB / 2.035 GB, free: 175.7 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/2.176, allocations: 1.243 MB / 2.036 GB, free: 174.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/2.177, allocations: 27.94 kB / 2.036 GB, free: 174.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/2.179, allocations: 312.5 kB / 2.036 GB, free: 174.1 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/2.179, allocations: 76.89 kB / 2.036 GB, free: 174 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/2.179, allocations: 55.72 kB / 2.036 GB, free: 174 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.8274/3.007, allocations: 305.3 MB / 2.335 GB, free: 354.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.02e-07/3.007, allocations: 0 / 2.335 GB, free: 354.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004863/3.012, allocations: 1.244 MB / 2.336 GB, free: 353.8 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.007602/3.019, allocations: 4.235 MB / 2.34 GB, free: 350.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004019/3.023, allocations: 4.611 MB / 2.344 GB, free: 345.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/3.023, allocations: 0 / 2.344 GB, free: 345.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/3.025, allocations: 2.25 MB / 2.347 GB, free: 343.3 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/3.028, allocations: 461.9 kB / 2.347 GB, free: 342.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.507/5.535, allocations: 1.516 GB / 3.863 GB, free: 239.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/5.537, allocations: 2.356 MB / 3.865 GB, free: 236.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002782/5.54, allocations: 1.246 MB / 3.866 GB, free: 235.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/5.542, allocations: 1.76 MB / 3.868 GB, free: 233.8 MB / 1.264 GB Notification: Performance of SimCode: time 6.62e-07/5.542, allocations: 0 / 3.868 GB, free: 233.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.43/6.972, allocations: 253.5 MB / 4.115 GB, free: 455.6 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/6.973, allocations: 297.8 kB / 4.116 GB, free: 455.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.659/10.63, allocations: 0 / 4.116 GB, free: 455.3 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)