Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001326/0.001326, allocations: 183.8 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0008099/0.00081, allocations: 92.67 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004394, allocations: 13.27 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2865, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00237/0.2889, allocations: 1.732 MB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2903, allocations: 0.7097 MB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.2906, allocations: 7.938 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.266e-05/0.2906, allocations: 11.86 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.2909, allocations: 39.7 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.2914, allocations: 145.3 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.2918, allocations: 267.2 kB / 0.8996 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.292, allocations: 60.28 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2922, allocations: 87.56 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.2924, allocations: 103.6 kB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.2925, allocations: 8 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/0.2925, allocations: 8 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.2926, allocations: 47.77 kB / 0.8999 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.2927, allocations: 95.45 kB / 0.9 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2929, allocations: 179.5 kB / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.293, allocations: 4 kB / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.855e-06/0.293, allocations: 0 / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.293, allocations: 0 / 0.9001 GB, free: 64.68 MB / 0.6042 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.001226/0.2942, allocations: 0.6269 MB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2943, allocations: 8.031 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.2944, allocations: 24.73 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.2948, allocations: 272.6 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2948, allocations: 20.38 kB / 0.9011 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.2948, allocations: 20.3 kB / 0.9011 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.2955, allocations: 264.3 kB / 0.9013 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2955, allocations: 0 / 0.9013 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.2955, allocations: 8 kB / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2955, allocations: 0 / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008292/0.2964, allocations: 275.8 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.2971, allocations: 0.5196 MB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.2981, allocations: 310.5 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.2985, allocations: 152.7 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.2986, allocations: 4 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005715/0.2992, allocations: 219.1 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.2992, allocations: 0 / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001418/0.3006, allocations: 463.3 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.3007, allocations: 59.41 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3008, allocations: 215.2 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3009, allocations: 25.7 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.3009, allocations: 140.2 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.301, allocations: 43.44 kB / 0.9037 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.301, allocations: 21.72 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.3011, allocations: 330.8 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.3015, allocations: 131.9 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3019, allocations: 151.8 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/0.3027, allocations: 330 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3027, allocations: 0 / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008865/0.3036, allocations: 407.8 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.3037, allocations: 153.1 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3037, allocations: 0 / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3037, allocations: 4 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.304, allocations: 63.88 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.304, allocations: 4 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.3043, allocations: 59.78 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3043, allocations: 7.938 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.3044, allocations: 4 kB / 0.9053 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007607/0.3051, allocations: 373.4 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.3051, allocations: 0 / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.3051, allocations: 3.938 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.3054, allocations: 55.89 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.3054, allocations: 4 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.3056, allocations: 59.78 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3057, allocations: 8 kB / 0.9057 GB, free: 58.63 MB / 0.6042 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.0001165/0.3058, allocations: 205.8 kB / 0.9059 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3058, allocations: 27.66 kB / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.3059, allocations: 21.52 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3059, allocations: 0 / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3059, allocations: 0 / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3059, allocations: 0 / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3061, allocations: 269.5 kB / 0.9062 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3061, allocations: 0 / 0.9062 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.3064, allocations: 63.88 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3064, allocations: 3.938 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3064, allocations: 7.984 kB / 0.9063 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3064, allocations: 0 / 0.9063 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3064, allocations: 0 / 0.9063 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/0.3073, allocations: 352.7 kB / 0.9067 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3073, allocations: 104.7 kB / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3074, allocations: 11.94 kB / 0.9068 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.3076, allocations: 51.94 kB / 0.9068 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.3077, allocations: 23.97 kB / 0.9068 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3077, allocations: 4 kB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001075/0.3078, allocations: 156.7 kB / 0.907 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3079, allocations: 4 kB / 0.907 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002942/0.3082, allocations: 71.84 kB / 0.9071 GB, free: 57.19 MB / 0.6042 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.0001248/0.3083, allocations: 107.2 kB / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.3096, allocations: 0.6666 MB / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3096, allocations: 0 / 0.9078 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.31, allocations: 151.8 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3103, allocations: 36.64 kB / 0.908 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.3111, allocations: 442 kB / 0.9084 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.3113, allocations: 0.7404 MB / 0.9091 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.3114, allocations: 15.44 kB / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.3114, allocations: 0 / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.00465/0.3161, allocations: 2.779 MB / 0.9119 GB, free: 52.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)