Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.3 MB / 303.2 MB, free: 8.285 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.00118/0.00118, allocations: 181.9 kB / 371.8 MB, free: 10.29 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.957/1.957, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001341/0.001341, allocations: 90.88 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004576, allocations: 10.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3048, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9593/1.264, allocations: 140.6 MB / 1.117 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004012/1.265, allocations: 88.53 kB / 1.117 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01138/1.276, allocations: 3.708 MB / 1.12 GB, free: 32.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.276, allocations: 0 / 1.12 GB, free: 32.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.627e-05/1.276, allocations: 3.844 kB / 1.12 GB, free: 32.05 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001143/1.277, allocations: 0.6236 MB / 1.121 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.277, allocations: 15.61 kB / 1.121 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/1.277, allocations: 23.12 kB / 1.121 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/1.278, allocations: 262.6 kB / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/1.278, allocations: 11.38 kB / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/1.278, allocations: 11.56 kB / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/1.279, allocations: 300.9 kB / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.279, allocations: 0 / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/1.279, allocations: 3.938 kB / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.279, allocations: 3.844 kB / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/1.28, allocations: 323.3 kB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008214/1.28, allocations: 0.5541 MB / 1.123 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/1.281, allocations: 392.1 kB / 1.123 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/1.282, allocations: 7.344 kB / 1.123 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/1.282, allocations: 236.2 kB / 1.123 GB, free: 30.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.895e-06/1.282, allocations: 0 / 1.123 GB, free: 30.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001491/1.284, allocations: 0.5151 MB / 1.124 GB, free: 30.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.284, allocations: 116.3 kB / 1.124 GB, free: 30.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/1.284, allocations: 190.9 kB / 1.124 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/1.284, allocations: 35.48 kB / 1.124 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/1.284, allocations: 130.6 kB / 1.124 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/1.284, allocations: 40.36 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/1.284, allocations: 3.562 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.284, allocations: 336.7 kB / 1.124 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/1.285, allocations: 156.8 kB / 1.125 GB, free: 30.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/1.285, allocations: 193 kB / 1.125 GB, free: 30.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/1.286, allocations: 215.8 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.286, allocations: 3.938 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001049/1.287, allocations: 448.6 kB / 1.125 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.287, allocations: 154 kB / 1.126 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.287, allocations: 3.984 kB / 1.126 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.287, allocations: 3.906 kB / 1.126 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.287, allocations: 71.84 kB / 1.126 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.287, allocations: 3.938 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/1.288, allocations: 70.55 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/1.288, allocations: 10 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/1.288, allocations: 7.812 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008321/1.289, allocations: 364 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/1.289, allocations: 8 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/1.289, allocations: 0 / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/1.289, allocations: 52.03 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/1.289, allocations: 0 / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/1.289, allocations: 66.97 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/1.289, allocations: 10.02 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/1.289, allocations: 206.6 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/1.289, allocations: 19.03 kB / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/1.289, allocations: 28.3 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/1.289, allocations: 3.844 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.289, allocations: 0 / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.289, allocations: 0 / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/1.29, allocations: 287.8 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.29, allocations: 0 / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/1.29, allocations: 67.7 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.29, allocations: 7.781 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/1.29, allocations: 5.906 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.29, allocations: 0 / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.29, allocations: 0 / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/1.291, allocations: 403.9 kB / 1.127 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/1.291, allocations: 103.5 kB / 1.127 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/1.291, allocations: 6.875 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/1.292, allocations: 63.2 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.292, allocations: 34.84 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/1.292, allocations: 0 / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001338/1.292, allocations: 158.7 kB / 1.128 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.292, allocations: 0 / 1.128 GB, free: 28.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003476/1.292, allocations: 84.56 kB / 1.128 GB, free: 28.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001649/1.292, allocations: 112.3 kB / 1.128 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001486/1.294, allocations: 0.7009 MB / 1.128 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.294, allocations: 0 / 1.128 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/1.294, allocations: 182.1 kB / 1.129 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/1.295, allocations: 40.02 kB / 1.129 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/1.296, allocations: 448.4 kB / 1.129 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/1.296, allocations: 0.7312 MB / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001347/1.296, allocations: 32.06 kB / 1.13 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/1.296, allocations: 22.25 kB / 1.13 GB, free: 27.52 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/1.296, allocations: 0 / 1.13 GB, free: 27.52 MB / 0.698 GB Notification: Performance of Templates: time 0.005801/1.302, allocations: 3.155 MB / 1.133 GB, free: 26.61 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)