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.001642/0.001642, allocations: 103.9 kB / 16.35 MB, free: 5.879 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.001543/0.001543, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001453/0.001453, allocations: 79.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2387, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003614/0.2423, allocations: 2.004 MB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2436, allocations: 0.6905 MB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.2439, allocations: 4 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.888e-05/0.2439, allocations: 19.73 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.2442, allocations: 55.5 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.2447, allocations: 159.7 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3927/0.6374, allocations: 282.2 kB / 0.7879 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.6377, allocations: 63.61 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.6379, allocations: 110.7 kB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.6381, allocations: 126.2 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.6382, allocations: 24.97 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.6382, allocations: 26.25 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.6383, allocations: 54.67 kB / 0.7883 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.6384, allocations: 114.2 kB / 0.7884 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.6387, allocations: 266.7 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.6387, allocations: 0 / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6387, allocations: 4.344 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6387, allocations: 0 / 0.7887 GB, free: 46.59 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.001197/0.6399, allocations: 0.6337 MB / 0.7893 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.64, allocations: 8.188 kB / 0.7893 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.64, allocations: 25.88 kB / 0.7893 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.6404, allocations: 269.2 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.6404, allocations: 11.86 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.6405, allocations: 15.19 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.6411, allocations: 238.2 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6411, allocations: 5.062 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.6411, allocations: 6.625 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6412, allocations: 2.938 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.6419, allocations: 223.3 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.6426, allocations: 0.5119 MB / 0.7906 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.6436, allocations: 263.6 kB / 0.7908 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.644, allocations: 117 kB / 0.7909 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.644, allocations: 11.11 kB / 0.7909 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005789/0.6446, allocations: 189.4 kB / 0.7911 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/0.6446, allocations: 0.5625 kB / 0.7911 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001288/0.6459, allocations: 387.8 kB / 0.7915 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.646, allocations: 57.81 kB / 0.7915 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.6462, allocations: 214.4 kB / 0.7917 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.6462, allocations: 32.02 kB / 0.7918 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.6463, allocations: 126.8 kB / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.6463, allocations: 51.56 kB / 0.7919 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.6464, allocations: 44.86 kB / 0.792 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.6465, allocations: 327.5 kB / 0.7923 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.6469, allocations: 122 kB / 0.7924 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.6473, allocations: 116.6 kB / 0.7925 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.6481, allocations: 278.9 kB / 0.7928 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6481, allocations: 0 / 0.7928 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008827/0.649, allocations: 366.9 kB / 0.7931 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.649, allocations: 61.77 kB / 0.7932 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.649, allocations: 0 / 0.7932 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.649, allocations: 7.5 kB / 0.7932 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.6493, allocations: 50.95 kB / 0.7933 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6493, allocations: 0 / 0.7933 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.6496, allocations: 46.36 kB / 0.7933 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.6496, allocations: 4.938 kB / 0.7933 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003937/0.65, allocations: 202.6 kB / 0.7935 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003238/0.6504, allocations: 102.6 kB / 0.7936 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006315/0.651, allocations: 256.5 kB / 0.7938 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.651, allocations: 0 / 0.7938 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0007787/0.6518, allocations: 349.9 kB / 0.7942 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.6518, allocations: 66.34 kB / 0.7942 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.6519, allocations: 0.5625 kB / 0.7942 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/0.6519, allocations: 0 / 0.7942 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.6521, allocations: 41.78 kB / 0.7943 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.6521, allocations: 4 kB / 0.7943 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.6523, allocations: 40.42 kB / 0.7943 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.6524, allocations: 7.609 kB / 0.7943 GB, free: 44.16 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.726e-05/0.6525, allocations: 192.1 kB / 0.7945 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.6525, allocations: 22.47 kB / 0.7945 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.6526, allocations: 29.77 kB / 0.7946 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6526, allocations: 0 / 0.7946 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6526, allocations: 0 / 0.7946 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6526, allocations: 0 / 0.7946 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.6528, allocations: 278.1 kB / 0.7948 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6528, allocations: 6.984 kB / 0.7948 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.6531, allocations: 44.39 kB / 0.7949 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6531, allocations: 3.438 kB / 0.7949 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.6531, allocations: 6.266 kB / 0.7949 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6531, allocations: 4 kB / 0.7949 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6531, allocations: 0 / 0.7949 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.654, allocations: 305 kB / 0.7952 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.654, allocations: 106.9 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.6541, allocations: 3.312 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.6543, allocations: 41.86 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.6544, allocations: 26.91 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6545, allocations: 5.5 kB / 0.7954 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001119/0.6546, allocations: 161.9 kB / 0.7955 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6546, allocations: 0 / 0.7955 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003245/0.6549, allocations: 78.78 kB / 0.7956 GB, free: 43.48 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.0001168/0.655, allocations: 99.77 kB / 0.7957 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.6564, allocations: 0.5912 MB / 0.7963 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6564, allocations: 4 kB / 0.7963 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.6568, allocations: 124.2 kB / 0.7964 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.6572, allocations: 41.98 kB / 0.7964 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.6581, allocations: 363 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.6583, allocations: 0.728 MB / 0.7975 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.6584, allocations: 26.94 kB / 0.7975 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.6585, allocations: 24.8 kB / 0.7975 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.6585, allocations: 0.8438 kB / 0.7975 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.007242/0.6658, allocations: 3.228 MB / 0.8007 GB, free: 42.11 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)