Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 288.2 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 182.4 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008023/0.0008023, allocations: 90.92 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.000405, allocations: 12.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2054, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00581/0.2113, allocations: 5.963 MB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6075/0.8188, allocations: 131.9 MB / 1.114 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.8204, allocations: 31.88 kB / 1.114 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005235/0.8257, allocations: 1.427 MB / 1.116 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.8292, allocations: 0.9267 MB / 1.116 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.8328, allocations: 0.9985 MB / 1.117 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004792/0.8376, allocations: 2.645 MB / 1.12 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.8394, allocations: 0.989 MB / 1.121 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.8427, allocations: 1.234 MB / 1.122 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.8451, allocations: 1.041 MB / 1.123 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.8455, allocations: 65.84 kB / 1.123 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004387/0.8499, allocations: 1.879 MB / 1.125 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00372/0.8537, allocations: 4.538 MB / 1.13 GB, free: 60 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.8565, allocations: 1.253 MB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01697/0.8735, allocations: 15.13 MB / 1.146 GB, free: 9.094 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8735, allocations: 1.062 kB / 1.146 GB, free: 9.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.636e-06/0.8735, allocations: 4 kB / 1.146 GB, free: 9.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004476/0.874, allocations: 0 / 1.146 GB, free: 9.09 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.0377/0.9117, allocations: 11.3 MB / 1.157 GB, free: 3.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.9118, allocations: 8.344 kB / 1.157 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.9128, allocations: 231.4 kB / 1.157 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009033/0.9218, allocations: 0.9117 MB / 1.158 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.738/2.66, allocations: 0.9547 GB / 2.112 GB, free: 74.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/2.66, allocations: 162.9 kB / 2.113 GB, free: 74.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/2.661, allocations: 231.6 kB / 2.113 GB, free: 74.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/2.667, allocations: 1.999 MB / 2.115 GB, free: 72.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/2.667, allocations: 4 kB / 2.115 GB, free: 72.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/2.667, allocations: 64 kB / 2.115 GB, free: 72.06 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/2.667, allocations: 36 kB / 2.115 GB, free: 72.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/2.671, allocations: 2.123 MB / 2.117 GB, free: 69.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6362/3.307, allocations: 242.5 MB / 2.354 GB, free: 219.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/3.31, allocations: 1.509 MB / 2.355 GB, free: 217.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/3.31, allocations: 36.34 kB / 2.355 GB, free: 217.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/3.311, allocations: 1.013 MB / 2.356 GB, free: 216.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 3.336e-06/3.311, allocations: 0 / 2.356 GB, free: 216.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126): time 0.01064/3.322, allocations: 3.493 MB / 2.36 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/3.322, allocations: 366.3 kB / 2.36 GB, free: 213.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.046/6.368, allocations: 1.183 GB / 3.542 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008904/6.369, allocations: 88.62 kB / 3.543 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.008145/6.377, allocations: 3.697 MB / 3.546 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/6.378, allocations: 416.1 kB / 3.547 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/6.378, allocations: 52.88 kB / 3.547 GB, free: 145 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000267/6.378, allocations: 439.8 kB / 3.547 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/6.381, allocations: 1.621 MB / 3.549 GB, free: 143 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/6.383, allocations: 2.554 MB / 3.551 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/6.386, allocations: 2.146 MB / 3.553 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/6.386, allocations: 12 kB / 3.553 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01629/6.402, allocations: 5.346 MB / 3.558 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/6.403, allocations: 203 kB / 3.559 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-05/6.403, allocations: 30.52 kB / 3.559 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/6.403, allocations: 126.1 kB / 3.559 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/6.406, allocations: 0.6005 MB / 3.559 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/6.408, allocations: 1.586 MB / 3.561 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/6.419, allocations: 1.176 MB / 3.562 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009238/6.42, allocations: 140.6 kB / 3.562 GB, free: 128.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009286/6.429, allocations: 3.825 MB / 3.566 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006951/6.436, allocations: 0.7401 MB / 3.567 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/6.446, allocations: 3.714 MB / 3.57 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/6.446, allocations: 12 kB / 3.57 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/6.446, allocations: 1.922 kB / 3.57 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/6.446, allocations: 3.984 kB / 3.57 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03852/6.485, allocations: 11.72 MB / 3.582 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/6.485, allocations: 0 / 3.582 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/6.486, allocations: 195.7 kB / 3.582 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/6.486, allocations: 88.77 kB / 3.582 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/6.486, allocations: 35.98 kB / 3.582 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/6.488, allocations: 1.559 MB / 3.584 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/6.488, allocations: 3.953 kB / 3.584 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009807/6.498, allocations: 3.285 MB / 3.587 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01203/6.51, allocations: 3.121 MB / 3.59 GB, free: 99.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006156/6.516, allocations: 31.95 kB / 3.59 GB, free: 99.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008639/6.525, allocations: 0.7702 MB / 3.591 GB, free: 99.17 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004318/6.525, allocations: 84.89 kB / 3.591 GB, free: 99.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/6.525, allocations: 63.72 kB / 3.591 GB, free: 99.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.4/8.926, allocations: 0.9476 GB / 4.538 GB, free: 258.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.072e-06/8.926, allocations: 0 / 4.538 GB, free: 258.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01055/8.936, allocations: 1.807 MB / 4.54 GB, free: 257 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01292/8.949, allocations: 4.723 MB / 4.545 GB, free: 253.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006803/8.956, allocations: 5.075 MB / 4.55 GB, free: 248.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/8.956, allocations: 0 / 4.55 GB, free: 248.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/8.959, allocations: 2.402 MB / 4.552 GB, free: 246.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008768/8.967, allocations: 0.7573 MB / 4.553 GB, free: 245.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05808/9.026, allocations: 43.86 MB / 4.596 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01224/9.038, allocations: 4.757 MB / 4.6 GB, free: 195.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01247/9.05, allocations: 3.019 MB / 4.603 GB, free: 192.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01253/9.063, allocations: 3.978 MB / 4.607 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.543e-06/9.063, allocations: 4 kB / 4.607 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9893/10.05, allocations: 0.4941 GB / 5.101 GB, free: 70.35 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/10.05, allocations: 301.6 kB / 5.101 GB, free: 70 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/18.48, allocations: 4 kB / 5.101 GB, free: 70 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)