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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001056/0.001056, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009714/0.0009714, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 55.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.6059, allocations: 140.4 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005461/0.6114, allocations: 6.025 MB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1393/0.7507, allocations: 153.1 MB / 1.105 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.7518, allocations: 27.88 kB / 1.105 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.7558, allocations: 1.616 MB / 1.106 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.7578, allocations: 0.6656 MB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.7599, allocations: 0.9321 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002859/0.7628, allocations: 3.366 MB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.7639, allocations: 0.9553 MB / 1.112 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.7654, allocations: 1.168 MB / 1.113 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.7668, allocations: 1.051 MB / 1.114 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.7671, allocations: 192 kB / 1.114 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.7698, allocations: 2.224 MB / 1.117 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.7711, allocations: 2.058 MB / 1.119 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.7733, allocations: 2.118 MB / 1.121 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.7796, allocations: 7.706 MB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7796, allocations: 0 / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7796, allocations: 4 kB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001198/0.7798, allocations: 3.938 kB / 1.128 GB, free: 10.11 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.01107/0.7908, allocations: 6.195 MB / 1.134 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7909, allocations: 8.031 kB / 1.134 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.7911, allocations: 194.5 kB / 1.134 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.7926, allocations: 475.4 kB / 1.135 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5672/1.36, allocations: 321.1 MB / 1.448 GB, free: 95.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/1.36, allocations: 134.4 kB / 1.449 GB, free: 95.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.36, allocations: 180 kB / 1.449 GB, free: 95.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.362, allocations: 1.664 MB / 1.45 GB, free: 93.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/1.362, allocations: 0 / 1.45 GB, free: 93.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/1.362, allocations: 48 kB / 1.45 GB, free: 93.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/1.362, allocations: 32 kB / 1.45 GB, free: 93.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/1.364, allocations: 1.741 MB / 1.452 GB, free: 91.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03562/1.4, allocations: 76.6 MB / 1.527 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/1.402, allocations: 1.579 MB / 1.528 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/1.402, allocations: 1.035 MB / 1.529 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/1.403, allocations: 33.17 kB / 1.53 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/1.404, allocations: 0.9895 MB / 1.53 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 2.585e-06/1.404, allocations: 0 / 1.53 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004022/1.408, allocations: 3.007 MB / 1.533 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.408, allocations: 346.5 kB / 1.534 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7422/2.15, allocations: 379.7 MB / 1.905 GB, free: 215.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003204/2.15, allocations: 69.7 kB / 1.905 GB, free: 215.6 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/2.152, allocations: 1.609 MB / 1.906 GB, free: 214.1 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/2.152, allocations: 389.5 kB / 1.907 GB, free: 213.9 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005192/2.152, allocations: 0.5118 MB / 1.907 GB, free: 213.4 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 3.839e-05/2.152, allocations: 312.6 kB / 1.907 GB, free: 213.1 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/2.154, allocations: 1.439 MB / 1.909 GB, free: 211.7 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/2.155, allocations: 2.168 MB / 1.911 GB, free: 209.2 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/2.158, allocations: 3.541 MB / 1.914 GB, free: 205.4 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/2.158, allocations: 4.875 kB / 1.914 GB, free: 205.4 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005263/2.164, allocations: 4.256 MB / 1.918 GB, free: 201.1 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/2.164, allocations: 185.6 kB / 1.919 GB, free: 200.9 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/2.164, allocations: 20 kB / 1.919 GB, free: 200.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/2.164, allocations: 32 kB / 1.919 GB, free: 200.9 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/2.165, allocations: 471.2 kB / 1.919 GB, free: 200.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/2.165, allocations: 47.86 kB / 1.919 GB, free: 200.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/2.167, allocations: 0.5558 MB / 1.92 GB, free: 199.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/2.168, allocations: 111 kB / 1.92 GB, free: 199.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.001502/2.169, allocations: 1.66 MB / 1.921 GB, free: 198 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008309/2.17, allocations: 355.1 kB / 1.922 GB, free: 197.7 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/2.173, allocations: 3.044 MB / 1.925 GB, free: 194.6 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/2.173, allocations: 12 kB / 1.925 GB, free: 194.6 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/2.173, allocations: 0 / 1.925 GB, free: 194.6 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/2.173, allocations: 7.969 kB / 1.925 GB, free: 194.6 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/2.175, allocations: 2.818 MB / 1.928 GB, free: 191.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/2.176, allocations: 0 / 1.928 GB, free: 191.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/2.176, allocations: 151.8 kB / 1.928 GB, free: 191.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/2.176, allocations: 8 kB / 1.928 GB, free: 191.6 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/2.176, allocations: 39.91 kB / 1.928 GB, free: 191.6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/2.176, allocations: 4 kB / 1.928 GB, free: 191.6 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/2.176, allocations: 0 / 1.928 GB, free: 191.6 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/2.179, allocations: 2.82 MB / 1.93 GB, free: 188.7 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/2.181, allocations: 1.237 MB / 1.932 GB, free: 187.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/2.182, allocations: 43.84 kB / 1.932 GB, free: 187.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/2.183, allocations: 295.9 kB / 1.932 GB, free: 187.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/2.183, allocations: 84.89 kB / 1.932 GB, free: 187 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/2.183, allocations: 51.97 kB / 1.932 GB, free: 187 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.5954/2.779, allocations: 305.3 MB / 2.23 GB, free: 322.5 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.102e-06/2.779, allocations: 0.5938 kB / 2.23 GB, free: 322.5 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003463/2.782, allocations: 1.213 MB / 2.232 GB, free: 321.4 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.005532/2.788, allocations: 4.223 MB / 2.236 GB, free: 317.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004705/2.793, allocations: 5.277 MB / 2.241 GB, free: 312.5 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/2.793, allocations: 0 / 2.241 GB, free: 312.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/2.794, allocations: 2.247 MB / 2.243 GB, free: 310.3 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/2.796, allocations: 471.8 kB / 2.243 GB, free: 309.8 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.069/4.865, allocations: 1.516 GB / 3.759 GB, free: 69.07 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/4.866, allocations: 2.358 MB / 3.761 GB, free: 66.71 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002289/4.869, allocations: 1.261 MB / 3.763 GB, free: 65.59 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/4.871, allocations: 1.752 MB / 3.764 GB, free: 63.84 MB / 1.139 GB Notification: Performance of SimCode: time 8.21e-07/4.871, allocations: 4 kB / 3.764 GB, free: 63.83 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.656/6.526, allocations: 254.4 MB / 4.013 GB, free: 251.5 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/6.527, allocations: 294.8 kB / 4.013 GB, free: 251.1 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.102/11.63, allocations: 1.969 kB / 4.013 GB, free: 251.1 MB / 1.139 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)