Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 173.7 kB / 25.18 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9268/0.9268, allocations: 177.2 MB / 205.6 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.888/1.888, allocations: 389.6 MB / 0.6364 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7755 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.143e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002391/0.002412, allocations: 2.051 MB / 0.7775 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008767/0.003289, allocations: 0.6845 MB / 0.7782 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.003383, allocations: 6.062 kB / 0.7782 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.003428, allocations: 19.73 kB / 0.7782 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.003559, allocations: 60.11 kB / 0.7783 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.003846, allocations: 159.7 kB / 0.7784 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.004088, allocations: 295.1 kB / 0.7787 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004189, allocations: 46.52 kB / 0.7788 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.004334, allocations: 159.7 kB / 0.7789 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.004429, allocations: 94.64 kB / 0.779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.004463, allocations: 24 kB / 0.779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.525e-05/0.004488, allocations: 20 kB / 0.779 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.004532, allocations: 51.81 kB / 0.7791 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.004592, allocations: 71.81 kB / 0.7792 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.004812, allocations: 167.3 kB / 0.7793 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004815, allocations: 0 / 0.7793 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004816, allocations: 0 / 0.7793 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.004819, allocations: 4.625 kB / 0.7793 GB, free: 2.199 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.0005847/0.005404, allocations: 0.4889 MB / 0.7798 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.005435, allocations: 10.27 kB / 0.7798 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.005485, allocations: 33.81 kB / 0.7798 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.005665, allocations: 172.2 kB / 0.78 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.005678, allocations: 8.375 kB / 0.78 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.005697, allocations: 16.38 kB / 0.78 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.005916, allocations: 155.6 kB / 0.7802 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005923, allocations: 0.7188 kB / 0.7802 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.005937, allocations: 9.859 kB / 0.7802 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.005943, allocations: 7.938 kB / 0.7802 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/0.006007, allocations: 31.98 kB / 0.7802 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.006357, allocations: 288.9 kB / 0.7805 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.006525, allocations: 80.59 kB / 0.7806 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.006566, allocations: 32.84 kB / 0.7806 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.006586, allocations: 0.9062 kB / 0.7806 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.006715, allocations: 116.4 kB / 0.7807 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.006717, allocations: 0 / 0.7807 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001718/0.006889, allocations: 105.6 kB / 0.7808 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.006921, allocations: 53.16 kB / 0.7809 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.007015, allocations: 194 kB / 0.7811 GB, free: 304 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.007031, allocations: 29.7 kB / 0.7811 GB, free: 268 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.007071, allocations: 120.4 kB / 0.7812 GB, free: 144 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.007109, allocations: 64.7 kB / 0.7813 GB, free: 80 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.007157, allocations: 37.69 kB / 0.7813 GB, free: 36 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.007248, allocations: 330.8 kB / 0.7816 GB, free: 15.7 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.007314, allocations: 84.91 kB / 0.7817 GB, free: 15.61 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.007364, allocations: 75.39 kB / 0.7818 GB, free: 15.52 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.578e-05/0.00746, allocations: 114.8 kB / 0.7819 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007461, allocations: 0 / 0.7819 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001487/0.00761, allocations: 217.2 kB / 0.7821 GB, free: 15.15 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.007641, allocations: 59.91 kB / 0.7821 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007645, allocations: 0 / 0.7821 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.007652, allocations: 0.5312 kB / 0.7821 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.007763, allocations: 45.73 kB / 0.7822 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.007767, allocations: 3.938 kB / 0.7822 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.007851, allocations: 36.95 kB / 0.7822 GB, free: 15 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.007862, allocations: 7.984 kB / 0.7822 GB, free: 14.99 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.882e-05/0.007941, allocations: 155.5 kB / 0.7824 GB, free: 14.82 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.357e-05/0.007984, allocations: 80.39 kB / 0.7825 GB, free: 14.73 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.975e-05/0.008054, allocations: 110.4 kB / 0.7826 GB, free: 14.61 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.008056, allocations: 4 kB / 0.7826 GB, free: 14.61 MB / 0.7449 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001246/0.00818, allocations: 211.2 kB / 0.7828 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.008207, allocations: 67.39 kB / 0.7828 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.008209, allocations: 0 / 0.7828 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-06/0.00821, allocations: 1.031 kB / 0.7828 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.008287, allocations: 39.91 kB / 0.7829 GB, free: 14.26 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/0.008289, allocations: 5.312 kB / 0.7829 GB, free: 14.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.008361, allocations: 31.91 kB / 0.7829 GB, free: 14.22 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.008368, allocations: 5.031 kB / 0.7829 GB, free: 14.22 MB / 0.7449 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 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.00844, allocations: 184.3 kB / 0.7831 GB, free: 14.03 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.008457, allocations: 13.55 kB / 0.7831 GB, free: 14.02 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.008493, allocations: 25.45 kB / 0.7831 GB, free: 14 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.008496, allocations: 4 kB / 0.7831 GB, free: 13.99 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008498, allocations: 1.469 kB / 0.7831 GB, free: 13.99 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.008503, allocations: 7.938 kB / 0.7831 GB, free: 13.98 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.71e-05/0.0086, allocations: 129.6 kB / 0.7833 GB, free: 13.84 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.008601, allocations: 3.938 kB / 0.7833 GB, free: 13.84 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.008672, allocations: 32.84 kB / 0.7833 GB, free: 13.8 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.008673, allocations: 0.7812 kB / 0.7833 GB, free: 13.8 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.008683, allocations: 7.984 kB / 0.7833 GB, free: 13.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.008684, allocations: 0.9375 kB / 0.7833 GB, free: 13.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008685, allocations: 0 / 0.7833 GB, free: 13.8 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.008798, allocations: 125.3 kB / 0.7834 GB, free: 13.66 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.008814, allocations: 15.84 kB / 0.7834 GB, free: 13.64 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.008835, allocations: 4 kB / 0.7834 GB, free: 13.64 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.008904, allocations: 32.84 kB / 0.7835 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.008954, allocations: 20.45 kB / 0.7835 GB, free: 13.59 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.008964, allocations: 14.86 kB / 0.7835 GB, free: 13.58 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.009001, allocations: 50.05 kB / 0.7836 GB, free: 13.53 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.009001, allocations: 0 / 0.7836 GB, free: 13.53 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001473/0.009149, allocations: 79.84 kB / 0.7836 GB, free: 13.45 MB / 0.7449 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.687e-05/0.009225, allocations: 88.3 kB / 0.7837 GB, free: 13.36 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.009509, allocations: 462.7 kB / 0.7842 GB, free: 12.83 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.009514, allocations: 0 / 0.7842 GB, free: 12.83 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.009571, allocations: 40.78 kB / 0.7842 GB, free: 12.79 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.009713, allocations: 48.98 kB / 0.7842 GB, free: 12.74 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.01029, allocations: 357.9 kB / 0.7846 GB, free: 12.36 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.315e-05/0.01036, allocations: 114.7 kB / 0.7847 GB, free: 12.22 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.01049, allocations: 92 kB / 0.7848 GB, free: 12.13 MB / 0.7449 GB Notification: Performance of SimCode: time 6.61e-07/0.01049, allocations: 0 / 0.7848 GB, free: 12.13 MB / 0.7449 GB Notification: Performance of Templates: time 0.002999/0.01349, allocations: 2.777 MB / 0.7875 GB, free: 9.48 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow > Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.580738015472889]