Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 293 MB / 309 MB, free: 4.766 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.001098/0.001098, allocations: 164.6 kB / 378.7 MB, free: 1.02 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.743/1.743, allocations: 205.4 MB / 0.6383 GB, free: 8.117 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008057/0.0008057, allocations: 91.88 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004378, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 116.4 MB / 0.9904 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7818/1.054, allocations: 141.7 MB / 1.129 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.055, allocations: 87.52 kB / 1.129 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009891/1.064, allocations: 3.724 MB / 1.133 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.764e-06/1.065, allocations: 0 / 1.133 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.489e-05/1.065, allocations: 11.94 kB / 1.133 GB, free: 29.89 MB / 0.7292 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.000973/1.066, allocations: 0.6168 MB / 1.133 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.066, allocations: 12.03 kB / 1.133 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/1.066, allocations: 24.66 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/1.066, allocations: 264.2 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/1.066, allocations: 12.38 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/1.066, allocations: 12.38 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/1.067, allocations: 293.3 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.067, allocations: 0.6875 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/1.067, allocations: 11.97 kB / 1.134 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.067, allocations: 4 kB / 1.134 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008386/1.068, allocations: 323.7 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/1.068, allocations: 0.5502 MB / 1.135 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009911/1.069, allocations: 377.8 kB / 1.135 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/1.07, allocations: 172.5 kB / 1.135 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/1.07, allocations: 4 kB / 1.135 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006449/1.07, allocations: 243.4 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/1.07, allocations: 0.6094 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.001497/1.072, allocations: 0.5195 MB / 1.136 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/1.072, allocations: 116.1 kB / 1.136 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/1.072, allocations: 207.6 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/1.072, allocations: 33.7 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/1.072, allocations: 127.1 kB / 1.136 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.035e-05/1.072, allocations: 51.52 kB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.072, allocations: 4.562 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/1.072, allocations: 332.8 kB / 1.137 GB, free: 26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/1.073, allocations: 161.7 kB / 1.137 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/1.073, allocations: 192 kB / 1.137 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008602/1.074, allocations: 364.2 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.074, allocations: 1.172 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001013/1.075, allocations: 459.3 kB / 1.138 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/1.075, allocations: 150.5 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.075, allocations: 0.6562 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.776e-05/1.075, allocations: 0.75 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/1.076, allocations: 73.53 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.076, allocations: 0 / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/1.076, allocations: 73.25 kB / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/1.076, allocations: 5.453 kB / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/1.076, allocations: 4 kB / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007995/1.077, allocations: 365.7 kB / 1.138 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/1.077, allocations: 4.625 kB / 1.138 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/1.077, allocations: 2.438 kB / 1.138 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/1.077, allocations: 57.72 kB / 1.139 GB, free: 24.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/1.077, allocations: 4.516 kB / 1.139 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/1.077, allocations: 61.72 kB / 1.139 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/1.077, allocations: 5.391 kB / 1.139 GB, free: 24.31 MB / 0.7292 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.0001411/1.078, allocations: 214.5 kB / 1.139 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/1.078, allocations: 19.81 kB / 1.139 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/1.078, allocations: 27.81 kB / 1.139 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.078, allocations: 4.609 kB / 1.139 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/1.078, allocations: 3.938 kB / 1.139 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.078, allocations: 1.359 kB / 1.139 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/1.078, allocations: 283.8 kB / 1.139 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.078, allocations: 0 / 1.139 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/1.078, allocations: 73.06 kB / 1.139 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.078, allocations: 0.7969 kB / 1.139 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/1.078, allocations: 9.234 kB / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.078, allocations: 1.359 kB / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.078, allocations: 0 / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/1.079, allocations: 402.4 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/1.079, allocations: 98.59 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/1.079, allocations: 9.547 kB / 1.14 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/1.08, allocations: 64.78 kB / 1.14 GB, free: 23.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.08, allocations: 32.98 kB / 1.14 GB, free: 23.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.08, allocations: 5.359 kB / 1.14 GB, free: 23.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001263/1.08, allocations: 158.3 kB / 1.14 GB, free: 23.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.08, allocations: 0 / 1.14 GB, free: 23.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003272/1.08, allocations: 76.5 kB / 1.14 GB, free: 22.95 MB / 0.7292 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.0001388/1.081, allocations: 111 kB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001428/1.082, allocations: 0.7099 MB / 1.141 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.082, allocations: 3.938 kB / 1.141 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/1.082, allocations: 177.5 kB / 1.141 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/1.083, allocations: 36.83 kB / 1.141 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009059/1.084, allocations: 455.5 kB / 1.141 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/1.084, allocations: 0.7298 MB / 1.142 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001428/1.084, allocations: 30.56 kB / 1.142 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/1.084, allocations: 21.59 kB / 1.142 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.084, allocations: 0 / 1.142 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.006996/1.091, allocations: 3.171 MB / 1.145 GB, free: 19.09 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)