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.001416/0.001416, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 198 kB / 16.54 MB, free: 6.672 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.158/2.158, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5995/0.6009, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.00591/0.6068, allocations: 6.037 MB / 0.9556 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1424/0.7492, allocations: 155.4 MB / 1.107 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.7501, allocations: 23.88 kB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.7535, allocations: 1.77 MB / 1.109 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.755, allocations: 0.7406 MB / 1.11 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.7569, allocations: 1.029 MB / 1.111 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.7592, allocations: 3.346 MB / 1.114 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009866/0.7602, allocations: 0.9476 MB / 1.115 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009748/0.7612, allocations: 1.13 MB / 1.116 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.7622, allocations: 1.029 MB / 1.117 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.7624, allocations: 192 kB / 1.117 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.765, allocations: 2.208 MB / 1.119 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.7662, allocations: 2.051 MB / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.7679, allocations: 2.114 MB / 1.124 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.7737, allocations: 7.706 MB / 1.131 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7737, allocations: 0 / 1.131 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7737, allocations: 7.938 kB / 1.131 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.959e-05/0.7738, allocations: 3.938 kB / 1.131 GB, free: 7.422 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.00869/0.7825, allocations: 6.189 MB / 1.137 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.7825, allocations: 8.031 kB / 1.137 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/0.7827, allocations: 194.5 kB / 1.137 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.784, allocations: 475.4 kB / 1.138 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6075/1.392, allocations: 321.1 MB / 1.451 GB, free: 93.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/1.392, allocations: 127.3 kB / 1.451 GB, free: 93.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/1.392, allocations: 184 kB / 1.452 GB, free: 93.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/1.394, allocations: 1.66 MB / 1.453 GB, free: 91.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.394, allocations: 0 / 1.453 GB, free: 91.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.394, allocations: 56 kB / 1.453 GB, free: 91.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/1.394, allocations: 28 kB / 1.453 GB, free: 91.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/1.396, allocations: 1.73 MB / 1.455 GB, free: 89.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03512/1.431, allocations: 76.61 MB / 1.53 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.433, allocations: 1.583 MB / 1.531 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/1.434, allocations: 1.036 MB / 1.532 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/1.434, allocations: 37.17 kB / 1.532 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009667/1.435, allocations: 0.9819 MB / 1.533 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 2.855e-06/1.435, allocations: 3.984 kB / 1.533 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.003638/1.438, allocations: 3.007 MB / 1.536 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.438, allocations: 342.5 kB / 1.537 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7197/2.158, allocations: 379.7 MB / 1.907 GB, free: 214.2 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003622/2.159, allocations: 75.36 kB / 1.907 GB, free: 214.1 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/2.16, allocations: 1.61 MB / 1.909 GB, free: 212.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/2.161, allocations: 388.6 kB / 1.909 GB, free: 212.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000929/2.162, allocations: 0.508 MB / 1.91 GB, free: 211.9 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/2.162, allocations: 305.8 kB / 1.91 GB, free: 211.6 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/2.164, allocations: 1.444 MB / 1.912 GB, free: 210.2 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/2.165, allocations: 2.172 MB / 1.914 GB, free: 207.7 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/2.168, allocations: 3.54 MB / 1.917 GB, free: 203.9 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/2.169, allocations: 4 kB / 1.917 GB, free: 203.9 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005755/2.174, allocations: 4.252 MB / 1.921 GB, free: 199.6 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/2.174, allocations: 181.6 kB / 1.922 GB, free: 199.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/2.174, allocations: 26.94 kB / 1.922 GB, free: 199.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.433e-05/2.175, allocations: 35.98 kB / 1.922 GB, free: 199.4 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/2.176, allocations: 471.2 kB / 1.922 GB, free: 198.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-05/2.176, allocations: 44.42 kB / 1.922 GB, free: 198.9 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/2.179, allocations: 0.5578 MB / 1.923 GB, free: 198.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/2.179, allocations: 108 kB / 1.923 GB, free: 198.2 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.002064/2.181, allocations: 1.664 MB / 1.924 GB, free: 196.5 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.183, allocations: 347.3 kB / 1.925 GB, free: 196.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/2.186, allocations: 3.037 MB / 1.928 GB, free: 193.1 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/2.186, allocations: 15.75 kB / 1.928 GB, free: 193.1 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.186, allocations: 0 / 1.928 GB, free: 193.1 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/2.187, allocations: 3.984 kB / 1.928 GB, free: 193.1 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/2.191, allocations: 2.821 MB / 1.93 GB, free: 190.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/2.191, allocations: 0 / 1.93 GB, free: 190.2 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/2.191, allocations: 159.7 kB / 1.931 GB, free: 190.1 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/2.191, allocations: 4.891 kB / 1.931 GB, free: 190.1 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/2.191, allocations: 47.91 kB / 1.931 GB, free: 190 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/2.191, allocations: 4 kB / 1.931 GB, free: 190 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.191, allocations: 0 / 1.931 GB, free: 190 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/2.195, allocations: 2.812 MB / 1.933 GB, free: 187.2 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/2.197, allocations: 1.237 MB / 1.935 GB, free: 185.9 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/2.198, allocations: 31.88 kB / 1.935 GB, free: 185.9 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/2.2, allocations: 305.3 kB / 1.935 GB, free: 185.6 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/2.2, allocations: 84.83 kB / 1.935 GB, free: 185.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/2.201, allocations: 51.97 kB / 1.935 GB, free: 185.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.6868/2.887, allocations: 305.3 MB / 2.233 GB, free: 321.8 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.12e-07/2.887, allocations: 3.609 kB / 2.233 GB, free: 321.8 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004909/2.892, allocations: 1.21 MB / 2.234 GB, free: 320.7 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.008767/2.901, allocations: 4.234 MB / 2.239 GB, free: 317 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005934/2.907, allocations: 5.274 MB / 2.244 GB, free: 311.7 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.907, allocations: 0 / 2.244 GB, free: 311.7 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/2.909, allocations: 2.239 MB / 2.246 GB, free: 309.4 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/2.912, allocations: 479.7 kB / 2.246 GB, free: 309 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.173/5.086, allocations: 1.515 GB / 3.761 GB, free: 70.72 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/5.088, allocations: 2.352 MB / 3.764 GB, free: 68.37 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002544/5.09, allocations: 1.254 MB / 3.765 GB, free: 67.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002271/5.093, allocations: 1.759 MB / 3.767 GB, free: 65.49 MB / 1.139 GB Notification: Performance of SimCode: time 1.492e-06/5.093, allocations: 3.844 kB / 3.767 GB, free: 65.49 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.378/7.471, allocations: 254.7 MB / 4.015 GB, free: 252.8 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/22.69, allocations: 10.64 kB / 4.015 GB, free: 252.8 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)