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.001452/0.001452, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001756/0.001756, allocations: 192.9 kB / 16.25 MB, free: 6.629 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.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.307/2.307, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.88 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4824, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007947/0.4904, allocations: 7.263 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1432/0.6337, allocations: 153.3 MB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.6349, allocations: 23.88 kB / 1.174 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.6393, allocations: 1.655 MB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.6416, allocations: 0.7621 MB / 1.176 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.6439, allocations: 0.9289 MB / 1.177 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003587/0.6475, allocations: 3.571 MB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.6488, allocations: 0.9173 MB / 1.181 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.6505, allocations: 1.192 MB / 1.183 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.652, allocations: 1.097 MB / 1.184 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004004/0.6524, allocations: 196 kB / 1.184 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.6555, allocations: 2.216 MB / 1.186 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.6571, allocations: 2.051 MB / 1.188 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002558/0.6597, allocations: 2.157 MB / 1.19 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007407/0.6671, allocations: 7.772 MB / 1.198 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6671, allocations: 4 kB / 1.198 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6671, allocations: 0 / 1.198 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001316/0.6673, allocations: 0 / 1.198 GB, free: 8.922 MB / 0.9512 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.01063/0.6779, allocations: 6.231 MB / 1.204 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.678, allocations: 8.031 kB / 1.204 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.6782, allocations: 198.5 kB / 1.204 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.6795, allocations: 467.5 kB / 1.204 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5776/1.257, allocations: 321.1 MB / 1.518 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.257, allocations: 134.4 kB / 1.518 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/1.258, allocations: 180 kB / 1.518 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/1.261, allocations: 1.66 MB / 1.52 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.261, allocations: 4 kB / 1.52 GB, free: 6.859 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.261, allocations: 59.98 kB / 1.52 GB, free: 6.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/1.261, allocations: 28 kB / 1.52 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/1.263, allocations: 1.725 MB / 1.522 GB, free: 5.043 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05516/1.318, allocations: 77 MB / 1.597 GB, free: 7.852 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/1.321, allocations: 1.584 MB / 1.598 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.322, allocations: 1.031 MB / 1.599 GB, free: 5.227 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-05/1.322, allocations: 37.09 kB / 1.599 GB, free: 5.191 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/1.324, allocations: 0.9827 MB / 1.6 GB, free: 4.203 MB / 1.107 GB Notification: Performance of pre-optimization done (n=118): time 2.916e-06/1.324, allocations: 0 / 1.6 GB, free: 4.203 MB / 1.107 GB Notification: Performance of matching and sorting (n=118): time 0.005115/1.329, allocations: 3.011 MB / 1.603 GB, free: 1.18 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/1.329, allocations: 346.5 kB / 1.604 GB, free: 0.793 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7426/2.071, allocations: 379.7 MB / 1.974 GB, free: 201.9 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003113/2.072, allocations: 69.7 kB / 1.974 GB, free: 201.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/2.073, allocations: 1.606 MB / 1.976 GB, free: 200.4 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/2.073, allocations: 386.7 kB / 1.976 GB, free: 200.2 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/2.074, allocations: 0.5119 MB / 1.977 GB, free: 199.6 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.167e-05/2.074, allocations: 304.9 kB / 1.977 GB, free: 199.3 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/2.075, allocations: 1.441 MB / 1.979 GB, free: 197.9 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/2.077, allocations: 2.169 MB / 1.981 GB, free: 195.4 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/2.08, allocations: 3.543 MB / 1.984 GB, free: 191.6 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/2.08, allocations: 4 kB / 1.984 GB, free: 191.6 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004793/2.084, allocations: 4.259 MB / 1.988 GB, free: 187.4 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/2.085, allocations: 181.6 kB / 1.989 GB, free: 187.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/2.085, allocations: 24 kB / 1.989 GB, free: 187.2 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/2.085, allocations: 32.69 kB / 1.989 GB, free: 187.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/2.086, allocations: 475.2 kB / 1.989 GB, free: 186.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/2.086, allocations: 43.86 kB / 1.989 GB, free: 186.6 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/2.088, allocations: 0.5583 MB / 1.99 GB, free: 186.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/2.088, allocations: 114.9 kB / 1.99 GB, free: 186 MB / 1.217 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.001261/2.089, allocations: 1.675 MB / 1.991 GB, free: 184.3 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/2.09, allocations: 347.3 kB / 1.992 GB, free: 183.9 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/2.093, allocations: 3.036 MB / 1.995 GB, free: 180.9 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/2.093, allocations: 8 kB / 1.995 GB, free: 180.9 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.093, allocations: 3.984 kB / 1.995 GB, free: 180.9 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/2.093, allocations: 15.73 kB / 1.995 GB, free: 180.9 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/2.095, allocations: 2.811 MB / 1.997 GB, free: 178 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/2.095, allocations: 0 / 1.997 GB, free: 178 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/2.095, allocations: 163.7 kB / 1.998 GB, free: 177.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/2.095, allocations: 4 kB / 1.998 GB, free: 177.8 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/2.095, allocations: 39.92 kB / 1.998 GB, free: 177.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/2.096, allocations: 4 kB / 1.998 GB, free: 177.8 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/2.096, allocations: 0 / 1.998 GB, free: 177.8 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/2.098, allocations: 2.816 MB / 2 GB, free: 174.9 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/2.099, allocations: 1.233 MB / 2.002 GB, free: 173.7 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004813/2.1, allocations: 33.62 kB / 2.002 GB, free: 173.7 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/2.101, allocations: 313.1 kB / 2.002 GB, free: 173.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/2.102, allocations: 80.89 kB / 2.002 GB, free: 173.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/2.102, allocations: 51.97 kB / 2.002 GB, free: 173.2 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.576/2.678, allocations: 305.3 MB / 2.3 GB, free: 333.6 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.82e-07/2.678, allocations: 0 / 2.3 GB, free: 333.6 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003734/2.681, allocations: 1.239 MB / 2.301 GB, free: 332.5 MB / 1.217 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.006653/2.688, allocations: 4.24 MB / 2.306 GB, free: 328.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005019/2.693, allocations: 5.269 MB / 2.311 GB, free: 323.6 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/2.693, allocations: 6.312 kB / 2.311 GB, free: 323.6 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/2.695, allocations: 2.243 MB / 2.313 GB, free: 321.3 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/2.697, allocations: 488.5 kB / 2.313 GB, free: 320.9 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.275/4.972, allocations: 1.516 GB / 3.829 GB, free: 196.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/4.974, allocations: 2.36 MB / 3.831 GB, free: 193.7 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00285/4.977, allocations: 1.251 MB / 3.832 GB, free: 192.6 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/4.98, allocations: 1.761 MB / 3.834 GB, free: 190.8 MB / 1.232 GB Notification: Performance of SimCode: time 6.01e-07/4.98, allocations: 0 / 3.834 GB, free: 190.8 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.666/9.646, allocations: 255.1 MB / 4.083 GB, free: 408.7 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/9.646, allocations: 287.2 kB / 4.084 GB, free: 408.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/13.01, allocations: 0 / 4.084 GB, free: 408.3 MB / 1.232 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=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)