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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 103.3 kB / 16.27 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 188.2 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.918/1.918, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2734, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00406/0.2775, allocations: 1.996 MB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2789, allocations: 0.7022 MB / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2791, allocations: 4 kB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.756e-05/0.2792, allocations: 19.73 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.2794, allocations: 47.58 kB / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.2799, allocations: 153.6 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.2802, allocations: 295.2 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2804, allocations: 68.27 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2806, allocations: 107.7 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2807, allocations: 123.4 kB / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2808, allocations: 28 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.831e-05/0.2808, allocations: 28 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.2809, allocations: 51.83 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.281, allocations: 119.4 kB / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.489/0.77, allocations: 254.1 kB / 0.7879 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.77, allocations: 0 / 0.7879 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7701, allocations: 2.625 kB / 0.7879 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7701, allocations: 3.328 kB / 0.7879 GB, free: 46.65 MB / 0.6544 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.00126/0.7713, allocations: 0.6243 MB / 0.7885 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7714, allocations: 11.09 kB / 0.7885 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.7715, allocations: 24.06 kB / 0.7886 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.7718, allocations: 275.8 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.7718, allocations: 9.75 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.7719, allocations: 15.12 kB / 0.7889 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.7725, allocations: 235.4 kB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7725, allocations: 3.938 kB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.7726, allocations: 5.906 kB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.7726, allocations: 3.969 kB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.7734, allocations: 225.8 kB / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.7741, allocations: 0.5159 MB / 0.7898 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.7751, allocations: 258.2 kB / 0.7901 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.7756, allocations: 123.2 kB / 0.7902 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.7756, allocations: 4.969 kB / 0.7902 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005631/0.7762, allocations: 192.5 kB / 0.7904 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.7762, allocations: 3.719 kB / 0.7904 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.00139/0.7776, allocations: 386.4 kB / 0.7907 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.7776, allocations: 62.5 kB / 0.7908 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.7778, allocations: 216.1 kB / 0.791 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.7778, allocations: 25.7 kB / 0.791 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.7779, allocations: 134.6 kB / 0.7912 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.778, allocations: 46.73 kB / 0.7912 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.778, allocations: 39.02 kB / 0.7912 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.7781, allocations: 330.6 kB / 0.7915 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.7786, allocations: 119 kB / 0.7917 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.779, allocations: 116.3 kB / 0.7918 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.7798, allocations: 269.8 kB / 0.792 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7799, allocations: 0 / 0.792 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009619/0.7808, allocations: 376 kB / 0.7924 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.7809, allocations: 62.08 kB / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7809, allocations: 0 / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7809, allocations: 0 / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.7812, allocations: 44.41 kB / 0.7925 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7812, allocations: 6.781 kB / 0.7925 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.7815, allocations: 50.2 kB / 0.7925 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.7815, allocations: 4.375 kB / 0.7925 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004206/0.782, allocations: 200.2 kB / 0.7927 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003696/0.7823, allocations: 110.5 kB / 0.7928 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007003/0.783, allocations: 251.8 kB / 0.7931 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.7831, allocations: 0 / 0.7931 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008406/0.7839, allocations: 345.7 kB / 0.7934 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.7839, allocations: 67.41 kB / 0.7935 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.7839, allocations: 4.203 kB / 0.7935 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/0.784, allocations: 1 kB / 0.7935 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.7842, allocations: 47.72 kB / 0.7935 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.7842, allocations: 4 kB / 0.7935 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.7844, allocations: 41.69 kB / 0.7936 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.7845, allocations: 5.562 kB / 0.7936 GB, free: 44.23 MB / 0.6544 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 9.259e-05/0.7846, allocations: 192.6 kB / 0.7938 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.7846, allocations: 25.94 kB / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.7847, allocations: 23.28 kB / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7847, allocations: 8.672 kB / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7847, allocations: 0 / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7847, allocations: 0 / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.7849, allocations: 265.8 kB / 0.7941 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7849, allocations: 1.312 kB / 0.7941 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.7852, allocations: 51.09 kB / 0.7941 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7852, allocations: 0 / 0.7941 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.7852, allocations: 8.438 kB / 0.7941 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7852, allocations: 4 kB / 0.7941 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7852, allocations: 0 / 0.7941 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.7861, allocations: 312.4 kB / 0.7944 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.7861, allocations: 103.4 kB / 0.7945 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.7862, allocations: 10.31 kB / 0.7945 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.7865, allocations: 29.34 kB / 0.7946 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.7866, allocations: 29.5 kB / 0.7946 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.7866, allocations: 10.72 kB / 0.7946 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001013/0.7867, allocations: 163.3 kB / 0.7948 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7867, allocations: 0 / 0.7948 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003103/0.787, allocations: 72.62 kB / 0.7948 GB, free: 43.56 MB / 0.6544 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 0.0001049/0.7871, allocations: 105.8 kB / 0.7949 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.7885, allocations: 0.5968 MB / 0.7955 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7886, allocations: 4 kB / 0.7955 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.789, allocations: 120.9 kB / 0.7956 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.7893, allocations: 44.03 kB / 0.7957 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.7901, allocations: 386.1 kB / 0.796 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.7903, allocations: 0.7284 MB / 0.7968 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.7904, allocations: 23.97 kB / 0.7968 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.7904, allocations: 0 / 0.7968 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of Templates: time 0.00513/0.7956, allocations: 2.804 MB / 0.7995 GB, free: 42.14 MB / 0.6544 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)