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.001491/0.001491, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001625/0.001625, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.201/2.201, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5911, allocations: 140.4 MB / 0.949 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006176/0.5973, allocations: 6.026 MB / 0.9549 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.7539, allocations: 153.3 MB / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.7555, allocations: 23.81 kB / 1.105 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004866/0.7604, allocations: 1.624 MB / 1.106 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.7626, allocations: 0.6491 MB / 1.107 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.7652, allocations: 0.906 MB / 1.108 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003016/0.7683, allocations: 3.287 MB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.7693, allocations: 0.9287 MB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.7704, allocations: 1.004 MB / 1.113 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.7714, allocations: 1.004 MB / 1.114 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.7716, allocations: 108 kB / 1.114 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.7744, allocations: 2.009 MB / 1.116 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.7758, allocations: 1.972 MB / 1.118 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.7774, allocations: 1.888 MB / 1.12 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0058/0.7832, allocations: 7.585 MB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7832, allocations: 0 / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7832, allocations: 3.938 kB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.435e-05/0.7833, allocations: 0 / 1.127 GB, free: 11.08 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.009731/0.793, allocations: 6.193 MB / 1.133 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.7931, allocations: 8.031 kB / 1.133 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.7933, allocations: 194.5 kB / 1.133 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.7947, allocations: 475.4 kB / 1.134 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6346/1.429, allocations: 321.1 MB / 1.447 GB, free: 97.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/1.429, allocations: 134.4 kB / 1.447 GB, free: 97.17 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/1.43, allocations: 184 kB / 1.448 GB, free: 96.99 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/1.432, allocations: 1.66 MB / 1.449 GB, free: 95.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.432, allocations: 0 / 1.449 GB, free: 95.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.432, allocations: 52 kB / 1.449 GB, free: 95.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/1.432, allocations: 36 kB / 1.449 GB, free: 95.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/1.434, allocations: 1.73 MB / 1.451 GB, free: 93.45 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/1.475, allocations: 76.61 MB / 1.526 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/1.477, allocations: 1.583 MB / 1.527 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/1.478, allocations: 1.032 MB / 1.528 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.113e-05/1.478, allocations: 37.17 kB / 1.528 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/1.48, allocations: 0.9773 MB / 1.529 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.306e-06/1.48, allocations: 0 / 1.529 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004773/1.484, allocations: 3.015 MB / 1.532 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.485, allocations: 342.5 kB / 1.533 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7622/2.247, allocations: 379.7 MB / 1.903 GB, free: 218 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000322/2.247, allocations: 69.7 kB / 1.904 GB, free: 218 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/2.249, allocations: 1.608 MB / 1.905 GB, free: 216.5 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/2.249, allocations: 387.2 kB / 1.905 GB, free: 216.2 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006378/2.25, allocations: 0.5119 MB / 1.906 GB, free: 215.7 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 3.395e-05/2.25, allocations: 308.9 kB / 1.906 GB, free: 215.4 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/2.251, allocations: 1.433 MB / 1.908 GB, free: 214 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/2.253, allocations: 2.169 MB / 1.91 GB, free: 211.5 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/2.256, allocations: 3.546 MB / 1.913 GB, free: 207.7 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/2.256, allocations: 7.125 kB / 1.913 GB, free: 207.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005103/2.261, allocations: 4.252 MB / 1.917 GB, free: 203.4 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/2.261, allocations: 189.6 kB / 1.918 GB, free: 203.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/2.261, allocations: 21.69 kB / 1.918 GB, free: 203.2 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/2.261, allocations: 32 kB / 1.918 GB, free: 203.2 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/2.262, allocations: 471.2 kB / 1.918 GB, free: 202.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.117e-05/2.263, allocations: 48.27 kB / 1.918 GB, free: 202.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/2.265, allocations: 0.5513 MB / 1.919 GB, free: 202.1 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/2.265, allocations: 112 kB / 1.919 GB, free: 202 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.001356/2.266, allocations: 1.656 MB / 1.92 GB, free: 200.4 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009763/2.267, allocations: 351.3 kB / 1.921 GB, free: 200 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/2.27, allocations: 3.047 MB / 1.924 GB, free: 197 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/2.271, allocations: 12 kB / 1.924 GB, free: 197 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.271, allocations: 0 / 1.924 GB, free: 197 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/2.271, allocations: 7.969 kB / 1.924 GB, free: 196.9 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/2.273, allocations: 2.813 MB / 1.926 GB, free: 194.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/2.273, allocations: 0 / 1.926 GB, free: 194.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/2.274, allocations: 167.7 kB / 1.927 GB, free: 193.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/2.274, allocations: 4.766 kB / 1.927 GB, free: 193.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/2.274, allocations: 39.91 kB / 1.927 GB, free: 193.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/2.274, allocations: 4 kB / 1.927 GB, free: 193.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/2.274, allocations: 3.75 kB / 1.927 GB, free: 193.9 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/2.277, allocations: 2.813 MB / 1.929 GB, free: 191 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/2.278, allocations: 1.241 MB / 1.931 GB, free: 189.8 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000575/2.279, allocations: 31.94 kB / 1.931 GB, free: 189.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/2.28, allocations: 299.4 kB / 1.931 GB, free: 189.5 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/2.28, allocations: 80.89 kB / 1.931 GB, free: 189.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/2.28, allocations: 51.97 kB / 1.931 GB, free: 189.3 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.59/2.87, allocations: 305.3 MB / 2.229 GB, free: 325.8 MB / 1.139 GB Notification: Performance of sort global known variables: time 6.61e-07/2.87, allocations: 4.688 kB / 2.229 GB, free: 325.8 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003389/2.874, allocations: 1.222 MB / 2.23 GB, free: 324.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.00638/2.88, allocations: 4.218 MB / 2.235 GB, free: 321 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00386/2.884, allocations: 4.632 MB / 2.239 GB, free: 316.4 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/2.884, allocations: 0 / 2.239 GB, free: 316.4 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/2.886, allocations: 2.239 MB / 2.241 GB, free: 314.2 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/2.888, allocations: 459.7 kB / 2.242 GB, free: 313.7 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.268/5.156, allocations: 1.516 GB / 3.757 GB, free: 75.26 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/5.158, allocations: 2.35 MB / 3.76 GB, free: 72.9 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002483/5.161, allocations: 1.252 MB / 3.761 GB, free: 71.77 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/5.163, allocations: 1.76 MB / 3.762 GB, free: 70.01 MB / 1.139 GB Notification: Performance of SimCode: time 1.282e-06/5.163, allocations: 0 / 3.762 GB, free: 70.01 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.636/7.799, allocations: 252.8 MB / 4.009 GB, free: 258.6 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/7.799, allocations: 294.6 kB / 4.01 GB, free: 258.3 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/11.68, allocations: 0 / 4.01 GB, free: 258.3 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)