Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001321/0.001321, allocations: 176.9 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001355/0.001355, allocations: 86.19 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004916, allocations: 11.53 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1902, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002354/0.1926, allocations: 1.657 MB / 0.9011 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1939, allocations: 0.6635 MB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.194, allocations: 4 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.1941, allocations: 11.86 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1943, allocations: 31.7 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.1947, allocations: 117.4 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.195, allocations: 247.2 kB / 0.9022 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1952, allocations: 60.45 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1954, allocations: 91.62 kB / 0.9023 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1955, allocations: 103.5 kB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.1956, allocations: 12 kB / 0.9024 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.1956, allocations: 8 kB / 0.9024 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1957, allocations: 39.83 kB / 0.9025 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.1958, allocations: 53.64 kB / 0.9025 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.196, allocations: 187.8 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.196, allocations: 0 / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.196, allocations: 3.938 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.196, allocations: 0 / 0.9027 GB, free: 62.21 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.00172/0.1978, allocations: 0.6267 MB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1978, allocations: 12.03 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.1979, allocations: 28.75 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.1984, allocations: 268.9 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.1984, allocations: 8.375 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.1985, allocations: 16.38 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1995, allocations: 264.2 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1996, allocations: 4 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.1996, allocations: 4 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1996, allocations: 4 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.2012, allocations: 271.7 kB / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.2022, allocations: 0.5196 MB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.2039, allocations: 314.5 kB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/0.2048, allocations: 144.7 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.2048, allocations: 11.92 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009547/0.2058, allocations: 215.2 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.2058, allocations: 0 / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002479/0.2083, allocations: 462 kB / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2084, allocations: 59.33 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.2086, allocations: 215.2 kB / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.2087, allocations: 25.7 kB / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.2087, allocations: 136.3 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.2088, allocations: 43.3 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.2088, allocations: 8 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.2089, allocations: 334.8 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/0.2097, allocations: 135.9 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007883/0.2105, allocations: 137.5 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007877/0.2113, allocations: 187.2 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2114, allocations: 0 / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001745/0.2131, allocations: 418.1 kB / 0.9074 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/0.2132, allocations: 141.2 kB / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2132, allocations: 0 / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2132, allocations: 4 kB / 0.9075 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.2137, allocations: 67.88 kB / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2138, allocations: 0 / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.2143, allocations: 55.88 kB / 0.9076 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.2144, allocations: 8 kB / 0.9077 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.2144, allocations: 4 kB / 0.9077 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.2159, allocations: 370.1 kB / 0.908 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.2159, allocations: 4 kB / 0.908 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.2159, allocations: 3.938 kB / 0.908 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.2164, allocations: 59.88 kB / 0.9081 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2164, allocations: 4 kB / 0.9081 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.2169, allocations: 55.8 kB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.2169, allocations: 4 kB / 0.9081 GB, free: 56.36 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 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.2171, allocations: 205.1 kB / 0.9083 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.2171, allocations: 23.73 kB / 0.9084 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.697e-05/0.2172, allocations: 25.53 kB / 0.9084 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2172, allocations: 0 / 0.9084 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2172, allocations: 3.984 kB / 0.9084 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.2173, allocations: 88.92 kB / 0.9085 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.2174, allocations: 8 kB / 0.9085 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.2179, allocations: 47.94 kB / 0.9085 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.218, allocations: 35.89 kB / 0.9086 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002077/0.2201, allocations: 444.6 kB / 0.909 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001681/0.2218, allocations: 0.5 MB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008116/0.2226, allocations: 147.8 kB / 0.9096 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001589/0.2228, allocations: 155.2 kB / 0.9098 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of Backend: time 6.01e-07/0.2228, allocations: 3.938 kB / 0.9098 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.2249, allocations: 0.6167 MB / 0.9104 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009479/0.2259, allocations: 0.8118 MB / 0.9112 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.009213/0.2351, allocations: 3.676 MB / 0.9147 GB, free: 49.49 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)