Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.259/4.259, allocations: 251.1 MB / 266.7 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002886/0.002885, allocations: 189.6 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.498/4.498, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001548/0.001548, allocations: 88.38 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007627/0.0007629, allocations: 11.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.5415, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/0.8916, allocations: 134 MB / 1.03 GB, free: 11.3 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004577/0.8921, allocations: 91.92 kB / 1.03 GB, free: 11.21 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.0254/0.9176, allocations: 3.713 MB / 1.034 GB, free: 7.488 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9176, allocations: 3.938 kB / 1.034 GB, free: 7.484 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.953e-05/0.9177, allocations: 4 kB / 1.034 GB, free: 7.48 MB / 0.6824 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.002562/0.9203, allocations: 0.6225 MB / 1.035 GB, free: 6.797 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.9204, allocations: 12.03 kB / 1.035 GB, free: 6.785 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.9205, allocations: 24.66 kB / 1.035 GB, free: 6.762 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.9212, allocations: 264.9 kB / 1.035 GB, free: 6.461 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.9213, allocations: 8.375 kB / 1.035 GB, free: 6.453 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.9213, allocations: 16.38 kB / 1.035 GB, free: 6.438 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.9231, allocations: 288.5 kB / 1.035 GB, free: 6.141 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.9232, allocations: 192 / 1.035 GB, free: 6.141 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.9233, allocations: 11.94 kB / 1.035 GB, free: 6.129 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.9233, allocations: 4 kB / 1.035 GB, free: 6.125 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.9258, allocations: 315.7 kB / 1.036 GB, free: 5.816 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.9278, allocations: 0.5663 MB / 1.036 GB, free: 5.199 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.9307, allocations: 374.5 kB / 1.036 GB, free: 4.824 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.9321, allocations: 172.7 kB / 1.037 GB, free: 4.652 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.9322, allocations: 4 kB / 1.037 GB, free: 4.648 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001601/0.9339, allocations: 244 kB / 1.037 GB, free: 4.398 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=15): time 5.951e-06/0.9339, allocations: 0 / 1.037 GB, free: 4.398 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15): time 0.004088/0.938, allocations: 0.5144 MB / 1.037 GB, free: 3.879 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.9382, allocations: 110.8 kB / 1.038 GB, free: 3.746 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.9388, allocations: 219.2 kB / 1.038 GB, free: 3.523 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.9389, allocations: 29.7 kB / 1.038 GB, free: 3.488 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.9391, allocations: 124.4 kB / 1.038 GB, free: 3.359 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.9392, allocations: 51.23 kB / 1.038 GB, free: 3.309 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.9393, allocations: 8 kB / 1.038 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.9395, allocations: 334.8 kB / 1.038 GB, free: 2.965 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.9409, allocations: 155.9 kB / 1.038 GB, free: 2.812 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.9423, allocations: 198.4 kB / 1.039 GB, free: 2.609 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.9436, allocations: 199.3 kB / 1.039 GB, free: 2.402 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9436, allocations: 0 / 1.039 GB, free: 2.402 MB / 0.6824 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002904/0.9465, allocations: 458.2 kB / 1.039 GB, free: 1.938 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.9468, allocations: 156.3 kB / 1.039 GB, free: 1.766 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.9468, allocations: 0 / 1.039 GB, free: 1.766 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.9468, allocations: 4 kB / 1.039 GB, free: 1.762 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.9476, allocations: 79.86 kB / 1.039 GB, free: 1.684 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.9477, allocations: 0 / 1.039 GB, free: 1.684 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/0.9486, allocations: 71.84 kB / 1.04 GB, free: 1.613 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.9487, allocations: 11.94 kB / 1.04 GB, free: 1.602 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.9487, allocations: 4 kB / 1.04 GB, free: 1.598 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002432/0.9512, allocations: 370.2 kB / 1.04 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9512, allocations: 0 / 1.04 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.9513, allocations: 0 / 1.04 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.9519, allocations: 63.83 kB / 1.04 GB, free: 1.164 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.9519, allocations: 0 / 1.04 GB, free: 1.164 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.9528, allocations: 59.8 kB / 1.04 GB, free: 1.105 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.9528, allocations: 11.98 kB / 1.04 GB, free: 1.094 MB / 0.6824 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.0003681/0.9532, allocations: 209.1 kB / 1.04 GB, free: 0.8789 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.9533, allocations: 15.81 kB / 1.04 GB, free: 0.8633 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.9535, allocations: 29.45 kB / 1.04 GB, free: 0.832 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.9535, allocations: 4 kB / 1.04 GB, free: 0.8281 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.9535, allocations: 0 / 1.04 GB, free: 0.8281 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.9535, allocations: 0 / 1.04 GB, free: 0.8281 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.9541, allocations: 277.5 kB / 1.041 GB, free: 0.5078 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9541, allocations: 4 kB / 1.041 GB, free: 0.5039 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.9549, allocations: 75.86 kB / 1.041 GB, free: 440 kB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9549, allocations: 0 / 1.041 GB, free: 440 kB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.955, allocations: 7.938 kB / 1.041 GB, free: 432 kB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.955, allocations: 0 / 1.041 GB, free: 432 kB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.955, allocations: 0 / 1.041 GB, free: 432 kB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.9578, allocations: 406.8 kB / 1.041 GB, free: 8 kB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.958, allocations: 96.92 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.9581, allocations: 3.938 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/0.959, allocations: 71.92 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.9592, allocations: 23.95 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.9593, allocations: 8 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003216/0.9596, allocations: 163.1 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9596, allocations: 0 / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008806/0.9605, allocations: 83.84 kB / 1.041 GB, free: 15.55 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.0002602/0.9608, allocations: 115.1 kB / 1.042 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00409/0.9649, allocations: 0.7019 MB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.965, allocations: 0 / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.9664, allocations: 179.8 kB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.9673, allocations: 40.64 kB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.9694, allocations: 444.5 kB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.97, allocations: 0.7326 MB / 1.044 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003965/0.9704, allocations: 25.53 kB / 1.044 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.9706, allocations: 23.42 kB / 1.044 GB, free: 13.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/0.9707, allocations: 0 / 1.044 GB, free: 13.18 MB / 0.698 GB Notification: Performance of Templates: time 0.01434/0.985, allocations: 3.143 MB / 1.047 GB, free: 10.09 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)