Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_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.004397/0.004397, allocations: 100 kB / 15.73 MB, free: 6.004 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.001305/0.001305, allocations: 191.2 kB / 16.67 MB, free: 5.918 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.238/2.238, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.001671, allocations: 59.91 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5783/0.58, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.00837/0.5884, allocations: 7.307 MB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.7479, allocations: 155.5 MB / 1.325 GB, free: 340 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.7488, allocations: 27.88 kB / 1.325 GB, free: 312 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.7522, allocations: 1.806 MB / 1.327 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.7539, allocations: 0.8433 MB / 1.328 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.7559, allocations: 1.032 MB / 1.329 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.759, allocations: 3.572 MB / 1.332 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.7601, allocations: 0.9172 MB / 1.333 GB, free: 8.074 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.7613, allocations: 1.157 MB / 1.334 GB, free: 6.914 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.7625, allocations: 1.059 MB / 1.335 GB, free: 5.852 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.7627, allocations: 192 kB / 1.336 GB, free: 5.664 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.7656, allocations: 2.243 MB / 1.338 GB, free: 3.418 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.7673, allocations: 2.055 MB / 1.34 GB, free: 1.359 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.7693, allocations: 2.157 MB / 1.342 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007324/0.7767, allocations: 7.869 MB / 1.35 GB, free: 7.297 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.7767, allocations: 0 / 1.35 GB, free: 7.297 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.286e-06/0.7767, allocations: 4 kB / 1.35 GB, free: 7.293 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.14e-05/0.7767, allocations: 0 / 1.35 GB, free: 7.293 MB / 1.076 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.009314/0.7861, allocations: 6.383 MB / 1.356 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.7861, allocations: 8.625 kB / 1.356 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.7863, allocations: 198.5 kB / 1.356 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.7876, allocations: 490 kB / 1.356 GB, free: 132 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6871/1.475, allocations: 321.2 MB / 1.67 GB, free: 282.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/1.475, allocations: 134.4 kB / 1.67 GB, free: 282.1 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/1.475, allocations: 176 kB / 1.67 GB, free: 281.9 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/1.477, allocations: 1.665 MB / 1.672 GB, free: 280.2 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.477, allocations: 4 kB / 1.672 GB, free: 280.2 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/1.477, allocations: 51.94 kB / 1.672 GB, free: 280.1 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/1.477, allocations: 28 kB / 1.672 GB, free: 280.1 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.479, allocations: 1.726 MB / 1.674 GB, free: 278.3 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03333/1.512, allocations: 76.98 MB / 1.749 GB, free: 201.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.514, allocations: 1.577 MB / 1.75 GB, free: 199.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/1.515, allocations: 1.035 MB / 1.752 GB, free: 198.5 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/1.515, allocations: 33.19 kB / 1.752 GB, free: 198.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009376/1.516, allocations: 0.9811 MB / 1.752 GB, free: 197.5 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 2.385e-06/1.516, allocations: 0 / 1.752 GB, free: 197.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.003441/1.519, allocations: 3.029 MB / 1.755 GB, free: 194.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.519, allocations: 342.5 kB / 1.756 GB, free: 194.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8117/2.331, allocations: 379.7 MB / 2.127 GB, free: 0.5122 GB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/2.331, allocations: 69.7 kB / 2.127 GB, free: 0.5122 GB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/2.333, allocations: 1.617 MB / 2.128 GB, free: 0.5109 GB / 1.436 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/2.333, allocations: 410.2 kB / 2.129 GB, free: 0.5108 GB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000473/2.333, allocations: 0.512 MB / 2.129 GB, free: 0.5103 GB / 1.436 GB Notification: Performance of setup shared object (initialization): time 3.154e-05/2.333, allocations: 305.4 kB / 2.129 GB, free: 0.51 GB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/2.335, allocations: 1.439 MB / 2.131 GB, free: 0.5088 GB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/2.336, allocations: 2.174 MB / 2.133 GB, free: 0.5066 GB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/2.339, allocations: 3.538 MB / 2.136 GB, free: 0.5031 GB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/2.339, allocations: 4 kB / 2.136 GB, free: 0.5031 GB / 1.436 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004565/2.343, allocations: 4.282 MB / 2.141 GB, free: 0.4989 GB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/2.344, allocations: 190.2 kB / 2.141 GB, free: 0.4987 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/2.344, allocations: 24.03 kB / 2.141 GB, free: 0.4987 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/2.344, allocations: 32 kB / 2.141 GB, free: 0.4987 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/2.345, allocations: 475.2 kB / 2.141 GB, free: 0.4982 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/2.345, allocations: 43.86 kB / 2.141 GB, free: 0.4982 GB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/2.347, allocations: 0.5579 MB / 2.142 GB, free: 0.4977 GB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/2.347, allocations: 116 kB / 2.142 GB, free: 0.4976 GB / 1.436 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.001172/2.348, allocations: 1.664 MB / 2.144 GB, free: 0.496 GB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/2.349, allocations: 369.5 kB / 2.144 GB, free: 0.4956 GB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/2.351, allocations: 3.041 MB / 2.147 GB, free: 0.4927 GB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/2.351, allocations: 12 kB / 2.147 GB, free: 0.4926 GB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.351, allocations: 4.062 kB / 2.147 GB, free: 0.4926 GB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/2.351, allocations: 9.203 kB / 2.147 GB, free: 0.4926 GB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/2.353, allocations: 2.821 MB / 2.15 GB, free: 0.4899 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/2.353, allocations: 0 / 2.15 GB, free: 0.4899 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/2.354, allocations: 159.8 kB / 2.15 GB, free: 0.4897 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/2.354, allocations: 4 kB / 2.15 GB, free: 0.4897 GB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/2.354, allocations: 35.91 kB / 2.15 GB, free: 0.4897 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/2.354, allocations: 4 kB / 2.15 GB, free: 0.4897 GB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/2.354, allocations: 0 / 2.15 GB, free: 0.4897 GB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/2.357, allocations: 2.838 MB / 2.153 GB, free: 498.5 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/2.358, allocations: 1.253 MB / 2.154 GB, free: 497.3 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004462/2.358, allocations: 33.91 kB / 2.154 GB, free: 497.3 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/2.36, allocations: 303.9 kB / 2.154 GB, free: 497 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/2.36, allocations: 79.41 kB / 2.154 GB, free: 496.9 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/2.36, allocations: 51.97 kB / 2.154 GB, free: 496.8 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.1613/2.521, allocations: 305.3 MB / 2.452 GB, free: 191.4 MB / 1.436 GB Notification: Performance of sort global known variables: time 7.21e-07/2.521, allocations: 0 / 2.452 GB, free: 191.4 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.002868/2.524, allocations: 1.259 MB / 2.454 GB, free: 190.3 MB / 1.436 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.005215/2.529, allocations: 4.259 MB / 2.458 GB, free: 186.3 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.003242/2.532, allocations: 4.621 MB / 2.462 GB, free: 181.7 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/2.532, allocations: 4 kB / 2.462 GB, free: 181.7 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/2.534, allocations: 2.244 MB / 2.465 GB, free: 179.5 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/2.535, allocations: 487.7 kB / 2.465 GB, free: 179 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.156/4.692, allocations: 1.504 GB / 3.969 GB, free: 288.4 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/4.693, allocations: 2.363 MB / 3.971 GB, free: 286.1 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002149/4.695, allocations: 1.255 MB / 3.973 GB, free: 284.9 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/4.697, allocations: 1.758 MB / 3.974 GB, free: 283.2 MB / 1.436 GB Notification: Performance of SimCode: time 6.71e-07/4.697, allocations: 0 / 3.974 GB, free: 283.2 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.859/6.556, allocations: 253.1 MB / 4.222 GB, free: 31.41 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.1/34.66, allocations: 23.92 kB / 4.222 GB, free: 31.38 MB / 1.436 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)