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.297/1.297, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009278/0.0009279, allocations: 172.7 kB / 326.5 MB, free: 2.707 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.327/1.327, allocations: 205 MB / 0.5767 GB, free: 20.99 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.0007035/0.0007034, allocations: 84.48 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 9.625 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.001696/0.1437, allocations: 1.732 MB / 0.8985 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.1447, allocations: 0.7019 MB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1448, allocations: 7.938 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.1449, allocations: 15.84 kB / 0.8992 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.145, allocations: 31.72 kB / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.1454, allocations: 139.8 kB / 0.8993 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1456, allocations: 271.2 kB / 0.8996 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1457, allocations: 57.67 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.693e-05/0.1458, allocations: 91.55 kB / 0.8997 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.1459, allocations: 103.6 kB / 0.8998 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1459, allocations: 8 kB / 0.8998 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.723e-05/0.1459, allocations: 12 kB / 0.8998 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.146, allocations: 43.75 kB / 0.8999 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1461, allocations: 99.39 kB / 0.9 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1462, allocations: 235.1 kB / 0.9002 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1462, allocations: 4 kB / 0.9002 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1462, allocations: 0 / 0.9002 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1462, allocations: 0 / 0.9002 GB, free: 64.66 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.0009682/0.1472, allocations: 0.6268 MB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1473, allocations: 8.031 kB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.1473, allocations: 20.75 kB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1476, allocations: 280.6 kB / 0.9011 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1476, allocations: 12.38 kB / 0.9011 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.1477, allocations: 16.38 kB / 0.9011 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.1482, allocations: 268.3 kB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1483, allocations: 0 / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1483, allocations: 4 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1483, allocations: 11.98 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.1491, allocations: 267.8 kB / 0.9017 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.1497, allocations: 0.5273 MB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/0.1506, allocations: 310.5 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.151, allocations: 140.8 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.151, allocations: 7.984 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.1515, allocations: 227.1 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.1515, allocations: 0 / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001255/0.1528, allocations: 458.5 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.1528, allocations: 59.39 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.153, allocations: 215.2 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.153, allocations: 29.7 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.153, allocations: 132.2 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1531, allocations: 39.45 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1531, allocations: 21.7 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.1532, allocations: 338.8 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.1536, allocations: 135.9 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.154, allocations: 143.8 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.1547, allocations: 326.9 kB / 0.9047 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1548, allocations: 0 / 0.9047 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008819/0.1556, allocations: 412.6 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.1557, allocations: 149.1 kB / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1557, allocations: 0 / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1557, allocations: 0 / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.156, allocations: 67.88 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.156, allocations: 7.938 kB / 0.9053 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.1563, allocations: 55.8 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.1563, allocations: 11.98 kB / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-06/0.1563, allocations: 4 kB / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007667/0.1571, allocations: 364.9 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.1571, allocations: 0 / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-06/0.1571, allocations: 7.938 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.1573, allocations: 55.89 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.1573, allocations: 7.938 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.1576, allocations: 59.78 kB / 0.9058 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1576, allocations: 4 kB / 0.9058 GB, free: 58.62 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 8.506e-05/0.1577, allocations: 205.8 kB / 0.906 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1577, allocations: 19.72 kB / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1578, allocations: 33.45 kB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1578, allocations: 0 / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1578, allocations: 0 / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.1579, allocations: 88.92 kB / 0.9061 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1579, allocations: 11.98 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1582, allocations: 43.95 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.1582, allocations: 31.95 kB / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001036/0.1593, allocations: 446.2 kB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008399/0.1601, allocations: 0.4983 MB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003978/0.1605, allocations: 150.5 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.1606, allocations: 152.7 kB / 0.9074 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of Backend: time 5.31e-07/0.1606, allocations: 0 / 0.9074 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.1618, allocations: 0.6207 MB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005716/0.1624, allocations: 0.8212 MB / 0.9088 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.005212/0.1676, allocations: 3.797 MB / 0.9125 GB, free: 51.63 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)