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.00125/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001996, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.702/1.702, allocations: 205.1 MB / 222.4 MB, free: 4.422 MB / 174.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.723/1.724, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001452/0.001452, allocations: 66.66 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2846, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003566/0.2882, allocations: 2.009 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2895, allocations: 0.6983 MB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2896, allocations: 4 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.252e-05/0.2897, allocations: 19.73 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.2899, allocations: 55.5 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2903, allocations: 154.4 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.2906, allocations: 287.2 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.2908, allocations: 68.27 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.291, allocations: 111.6 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2912, allocations: 119.5 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.2912, allocations: 28 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.2913, allocations: 24 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.2913, allocations: 55.83 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2914, allocations: 111.4 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.2917, allocations: 267.3 kB / 0.7873 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2918, allocations: 4 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2918, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.2918, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 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.001284/0.2931, allocations: 0.6189 MB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2931, allocations: 12.03 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.2932, allocations: 24.66 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.2936, allocations: 276.8 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2936, allocations: 12.38 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2937, allocations: 12.38 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.2943, allocations: 256.3 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.2943, allocations: 0 / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2944, allocations: 4 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2944, allocations: 4 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.2953, allocations: 219.8 kB / 0.7887 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.296, allocations: 0.5235 MB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2971, allocations: 266.5 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.2975, allocations: 116.7 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.2976, allocations: 4 kB / 0.7895 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.2982, allocations: 191.2 kB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.2983, allocations: 0 / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001425/0.2997, allocations: 385 kB / 0.7901 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.2997, allocations: 59.41 kB / 0.7901 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.2999, allocations: 215.1 kB / 0.7903 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3, allocations: 33.7 kB / 0.7904 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.3001, allocations: 132.3 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.3001, allocations: 43.34 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.3002, allocations: 41.7 kB / 0.7906 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3003, allocations: 334.8 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.3008, allocations: 120.7 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.3012, allocations: 115.9 kB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008576/0.3021, allocations: 278.6 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3021, allocations: 0 / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001023/0.3031, allocations: 368.5 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.3032, allocations: 59.41 kB / 0.7918 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.3032, allocations: 0 / 0.7918 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.3033, allocations: 7.984 kB / 0.7918 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.3035, allocations: 39.95 kB / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3036, allocations: 0 / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3039, allocations: 51.81 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3039, allocations: 4 kB / 0.7919 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004539/0.3044, allocations: 208.5 kB / 0.7921 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003828/0.3048, allocations: 113.1 kB / 0.7922 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007224/0.3055, allocations: 248.1 kB / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.3055, allocations: 4 kB / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008955/0.3064, allocations: 339.2 kB / 0.7928 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.3064, allocations: 67.33 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.3065, allocations: 4 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-06/0.3065, allocations: 0 / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3067, allocations: 47.89 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.3067, allocations: 0 / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.307, allocations: 47.78 kB / 0.7929 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.307, allocations: 8 kB / 0.7929 GB, free: 3.348 MB / 0.6075 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 0.0001404/0.3071, allocations: 188.3 kB / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3072, allocations: 19.75 kB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.3073, allocations: 21.52 kB / 0.7932 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3073, allocations: 4 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3073, allocations: 0 / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3073, allocations: 0 / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.3076, allocations: 269.4 kB / 0.7934 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3076, allocations: 3.938 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3078, allocations: 51.88 kB / 0.7935 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3079, allocations: 3.938 kB / 0.7935 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3079, allocations: 8 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3079, allocations: 0 / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3079, allocations: 0 / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.3088, allocations: 307.2 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.3089, allocations: 104.8 kB / 0.7939 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.309, allocations: 0 / 0.7939 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.3092, allocations: 43.95 kB / 0.7939 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3093, allocations: 31.95 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3094, allocations: 4 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001448/0.3095, allocations: 160.6 kB / 0.7941 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3095, allocations: 0 / 0.7941 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003342/0.3099, allocations: 71.84 kB / 0.7942 GB, free: 1.996 MB / 0.6075 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.0001467/0.31, allocations: 115.2 kB / 0.7943 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.3115, allocations: 0.5948 MB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3115, allocations: 0 / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.312, allocations: 127.9 kB / 0.795 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3123, allocations: 54.89 kB / 0.795 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.3132, allocations: 363.5 kB / 0.7954 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3135, allocations: 0.7285 MB / 0.7961 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000128/0.3137, allocations: 29.52 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.3138, allocations: 23.44 kB / 0.7961 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.3138, allocations: 0 / 0.7961 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of Templates: time 0.006527/0.3203, allocations: 3.221 MB / 0.7993 GB, free: 12.68 MB / 0.6231 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)