Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_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.0008761/0.0008763, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007405/0.007405, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7035, allocations: 142.4 MB / 0.9552 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005214/0.7087, allocations: 5.583 MB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.8606, allocations: 150.9 MB / 1.108 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.8616, allocations: 19.88 kB / 1.108 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.8657, allocations: 1.628 MB / 1.11 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.8676, allocations: 0.6607 MB / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.8696, allocations: 0.8917 MB / 1.111 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.8726, allocations: 3.291 MB / 1.114 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.8736, allocations: 0.9014 MB / 1.115 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.8746, allocations: 0.8793 MB / 1.116 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009284/0.8755, allocations: 0.8594 MB / 1.117 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.8757, allocations: 52 kB / 1.117 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.8786, allocations: 1.962 MB / 1.119 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.8799, allocations: 1.89 MB / 1.121 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.8814, allocations: 1.796 MB / 1.122 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007163/0.8886, allocations: 7.451 MB / 1.13 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8886, allocations: 0 / 1.13 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8886, allocations: 0 / 1.13 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.539e-05/0.8887, allocations: 0 / 1.13 GB, free: 11.84 MB / 0.8887 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.009923/0.8986, allocations: 5.08 MB / 1.135 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.8987, allocations: 8.031 kB / 1.135 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003457/0.899, allocations: 198.5 kB / 1.135 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.9008, allocations: 479.5 kB / 1.135 GB, free: 6 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7021/1.603, allocations: 321.1 MB / 1.449 GB, free: 96.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/1.603, allocations: 134.4 kB / 1.449 GB, free: 96.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/1.604, allocations: 180 kB / 1.449 GB, free: 95.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/1.607, allocations: 1.675 MB / 1.451 GB, free: 94.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/1.607, allocations: 3.938 kB / 1.451 GB, free: 94.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/1.607, allocations: 48 kB / 1.451 GB, free: 94.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/1.607, allocations: 32 kB / 1.451 GB, free: 94.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/1.609, allocations: 1.73 MB / 1.453 GB, free: 92.3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04171/1.651, allocations: 76.71 MB / 1.528 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.653, allocations: 1.597 MB / 1.529 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008832/1.654, allocations: 1.031 MB / 1.53 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/1.654, allocations: 37.17 kB / 1.53 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/1.655, allocations: 0.9889 MB / 1.531 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.747e-06/1.655, allocations: 0 / 1.531 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004061/1.659, allocations: 3.022 MB / 1.534 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.659, allocations: 346.5 kB / 1.534 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.862/2.521, allocations: 379.7 MB / 1.905 GB, free: 213.4 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004546/2.522, allocations: 77.45 kB / 1.905 GB, free: 213.3 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002283/2.524, allocations: 1.609 MB / 1.907 GB, free: 211.9 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/2.525, allocations: 382.2 kB / 1.907 GB, free: 211.7 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005507/2.525, allocations: 274.2 kB / 1.907 GB, free: 211.4 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/2.525, allocations: 308.9 kB / 1.908 GB, free: 211.1 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/2.527, allocations: 1.448 MB / 1.909 GB, free: 209.7 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/2.529, allocations: 2.163 MB / 1.911 GB, free: 207.2 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/2.533, allocations: 3.546 MB / 1.915 GB, free: 203.4 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/2.533, allocations: 12 kB / 1.915 GB, free: 203.4 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005671/2.538, allocations: 4.268 MB / 1.919 GB, free: 199.1 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/2.538, allocations: 185.6 kB / 1.919 GB, free: 198.9 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/2.539, allocations: 20 kB / 1.919 GB, free: 198.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.129e-05/2.539, allocations: 36 kB / 1.919 GB, free: 198.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/2.54, allocations: 467.2 kB / 1.92 GB, free: 198.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.135e-05/2.54, allocations: 51.8 kB / 1.92 GB, free: 198.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/2.543, allocations: 0.5588 MB / 1.92 GB, free: 197.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/2.543, allocations: 116 kB / 1.92 GB, free: 197.7 MB / 1.139 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.001975/2.545, allocations: 1.662 MB / 1.922 GB, free: 196 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/2.546, allocations: 347.3 kB / 1.922 GB, free: 195.6 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/2.55, allocations: 3.048 MB / 1.925 GB, free: 192.6 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/2.55, allocations: 15.47 kB / 1.925 GB, free: 192.6 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/2.55, allocations: 0 / 1.925 GB, free: 192.6 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/2.55, allocations: 7.969 kB / 1.925 GB, free: 192.6 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/2.552, allocations: 2.816 MB / 1.928 GB, free: 189.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/2.552, allocations: 0 / 1.928 GB, free: 189.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/2.553, allocations: 159.8 kB / 1.928 GB, free: 189.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/2.553, allocations: 4 kB / 1.928 GB, free: 189.5 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/2.553, allocations: 42.97 kB / 1.928 GB, free: 189.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/2.553, allocations: 4 kB / 1.928 GB, free: 189.5 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/2.553, allocations: 7.938 kB / 1.928 GB, free: 189.5 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/2.555, allocations: 2.822 MB / 1.931 GB, free: 186.6 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/2.557, allocations: 1.257 MB / 1.932 GB, free: 185.4 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004466/2.557, allocations: 31.92 kB / 1.932 GB, free: 185.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/2.559, allocations: 327.9 kB / 1.933 GB, free: 185 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/2.559, allocations: 76.89 kB / 1.933 GB, free: 184.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.64e-05/2.559, allocations: 51.97 kB / 1.933 GB, free: 184.9 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.6933/3.252, allocations: 305.3 MB / 2.231 GB, free: 317.9 MB / 1.139 GB Notification: Performance of sort global known variables: time 7.91e-07/3.252, allocations: 0 / 2.231 GB, free: 317.9 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003182/3.256, allocations: 1.217 MB / 2.232 GB, free: 316.8 MB / 1.139 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.005065/3.261, allocations: 4.242 MB / 2.236 GB, free: 313.1 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003651/3.264, allocations: 4.626 MB / 2.241 GB, free: 308.5 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/3.264, allocations: 0 / 2.241 GB, free: 308.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/3.266, allocations: 2.247 MB / 2.243 GB, free: 306.3 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/3.268, allocations: 443.2 kB / 2.243 GB, free: 305.8 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.134/5.402, allocations: 1.516 GB / 3.759 GB, free: 100.6 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/5.405, allocations: 2.361 MB / 3.761 GB, free: 98.25 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002699/5.407, allocations: 1.254 MB / 3.762 GB, free: 97.12 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0023/5.41, allocations: 1.756 MB / 3.764 GB, free: 95.37 MB / 1.154 GB Notification: Performance of SimCode: time 1.162e-06/5.41, allocations: 0 / 3.764 GB, free: 95.37 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.999/8.408, allocations: 192 MB / 3.952 GB, free: 349.6 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/8.408, allocations: 286.7 kB / 3.952 GB, free: 349.2 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.681/12.09, allocations: 0 / 3.952 GB, free: 349.2 MB / 1.154 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)