Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.505/2.505, allocations: 287.5 MB / 303.2 MB, free: 8.059 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.001352/0.001352, allocations: 178.7 kB / 371.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009423/0.0009421, allocations: 94.8 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004674, allocations: 14.66 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2146, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9125/1.127, allocations: 140.3 MB / 1.116 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.128, allocations: 87.08 kB / 1.116 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01651/1.144, allocations: 3.699 MB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/1.144, allocations: 0 / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.003e-05/1.144, allocations: 3.812 kB / 1.12 GB, free: 31.3 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.001638/1.146, allocations: 0.6191 MB / 1.121 GB, free: 30.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.146, allocations: 11.56 kB / 1.121 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.146, allocations: 24.22 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/1.146, allocations: 271.1 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.146, allocations: 10.78 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/1.147, allocations: 17.52 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/1.148, allocations: 291.6 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.148, allocations: 4.188 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/1.148, allocations: 11.75 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.148, allocations: 3.812 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/1.149, allocations: 318.6 kB / 1.122 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/1.151, allocations: 0.5589 MB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/1.152, allocations: 379 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008382/1.153, allocations: 170.2 kB / 1.123 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/1.153, allocations: 3.812 kB / 1.123 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/1.154, allocations: 246.2 kB / 1.123 GB, free: 30.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.496e-06/1.154, allocations: 3.938 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.002649/1.157, allocations: 0.5171 MB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/1.157, allocations: 113.3 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/1.157, allocations: 209.7 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/1.157, allocations: 36.23 kB / 1.124 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/1.158, allocations: 122.5 kB / 1.124 GB, free: 29.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/1.158, allocations: 52 kB / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/1.158, allocations: 7.188 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.158, allocations: 328.1 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008642/1.159, allocations: 167.2 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008726/1.16, allocations: 184.3 kB / 1.125 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.161, allocations: 367.9 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.161, allocations: 0 / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001886/1.163, allocations: 462.2 kB / 1.125 GB, free: 29.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.163, allocations: 154.1 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/1.163, allocations: 0 / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.163, allocations: 3.844 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/1.164, allocations: 75.05 kB / 1.126 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/1.164, allocations: 0 / 1.126 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/1.165, allocations: 74.28 kB / 1.126 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/1.165, allocations: 3.938 kB / 1.126 GB, free: 28.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/1.165, allocations: 6.219 kB / 1.126 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/1.166, allocations: 367.5 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/1.166, allocations: 0 / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-06/1.166, allocations: 0 / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/1.167, allocations: 64.92 kB / 1.126 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/1.167, allocations: 0 / 1.126 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/1.167, allocations: 65.58 kB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/1.167, allocations: 6.906 kB / 1.126 GB, free: 28.78 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.0002436/1.167, allocations: 209.7 kB / 1.126 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/1.167, allocations: 15.62 kB / 1.126 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/1.168, allocations: 26 kB / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.168, allocations: 3.969 kB / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.168, allocations: 0 / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.168, allocations: 2.719 kB / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/1.168, allocations: 285.2 kB / 1.127 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.168, allocations: 0 / 1.127 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/1.168, allocations: 71.42 kB / 1.127 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.168, allocations: 3.812 kB / 1.127 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/1.168, allocations: 14.69 kB / 1.127 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.168, allocations: 0 / 1.127 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.169, allocations: 0 / 1.127 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.17, allocations: 402 kB / 1.127 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/1.17, allocations: 99.84 kB / 1.127 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.453e-05/1.17, allocations: 7.188 kB / 1.127 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/1.171, allocations: 66.78 kB / 1.127 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.171, allocations: 28.91 kB / 1.127 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/1.171, allocations: 6.656 kB / 1.127 GB, free: 28.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001855/1.171, allocations: 155.5 kB / 1.127 GB, free: 28.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.171, allocations: 3.938 kB / 1.127 GB, free: 28.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004804/1.172, allocations: 79.88 kB / 1.128 GB, free: 28.07 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.0001592/1.172, allocations: 117.6 kB / 1.128 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002626/1.175, allocations: 0.7053 MB / 1.128 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.175, allocations: 0 / 1.128 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000878/1.176, allocations: 173.5 kB / 1.129 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/1.176, allocations: 44.89 kB / 1.129 GB, free: 27.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/1.177, allocations: 444.7 kB / 1.129 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/1.178, allocations: 0.7307 MB / 1.13 GB, free: 26.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002121/1.178, allocations: 22.81 kB / 1.13 GB, free: 26.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.178, allocations: 29.5 kB / 1.13 GB, free: 26.73 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.178, allocations: 0 / 1.13 GB, free: 26.73 MB / 0.698 GB Notification: Performance of Templates: time 0.008627/1.187, allocations: 3.156 MB / 1.133 GB, free: 26.55 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)