Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.4 MB / 303.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009619/0.0009623, allocations: 187.3 kB / 372 MB, free: 10.2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009476/0.0009478, allocations: 100.9 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004412, allocations: 22.8 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2453, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002024/0.2473, allocations: 1.661 MB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000911/0.2483, allocations: 0.644 MB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.2484, allocations: 7.938 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.2484, allocations: 11.86 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.2486, allocations: 43.69 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.249, allocations: 117.5 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.2492, allocations: 243.2 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2493, allocations: 48.47 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2494, allocations: 95.66 kB / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.2496, allocations: 91.59 kB / 0.9825 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.2496, allocations: 15.92 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.111e-05/0.2496, allocations: 12 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.2497, allocations: 35.83 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.2497, allocations: 57.64 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2499, allocations: 187.8 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2499, allocations: 0 / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2499, allocations: 0 / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2499, allocations: 0 / 0.9828 GB, free: 24.36 MB / 0.6198 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.001164/0.2511, allocations: 0.6306 MB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2512, allocations: 16.02 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.2512, allocations: 27.7 kB / 0.9834 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.2516, allocations: 271.5 kB / 0.9837 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2516, allocations: 8 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.2517, allocations: 19.98 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.2523, allocations: 264.6 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2523, allocations: 3.938 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.2523, allocations: 8 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.2523, allocations: 4 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/0.2532, allocations: 271.8 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.2539, allocations: 0.5234 MB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009684/0.2549, allocations: 310.5 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.2553, allocations: 146.6 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.2553, allocations: 4 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.2559, allocations: 215.2 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.2559, allocations: 0 / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001333/0.2573, allocations: 457.1 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2573, allocations: 55.34 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2575, allocations: 219.2 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2575, allocations: 29.7 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.2576, allocations: 136.2 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.2576, allocations: 43.44 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.2577, allocations: 4 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.2578, allocations: 338.7 kB / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.2582, allocations: 135.9 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.2586, allocations: 141.2 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.259, allocations: 188.2 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.259, allocations: 0 / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009332/0.26, allocations: 406.3 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.2601, allocations: 145.2 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.2601, allocations: 4 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2601, allocations: 4 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.2604, allocations: 59.88 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2604, allocations: 0 / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.2607, allocations: 63.78 kB / 0.9877 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2608, allocations: 4 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2608, allocations: 4 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008129/0.2616, allocations: 363.1 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.2616, allocations: 11.92 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.2616, allocations: 4 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.2618, allocations: 55.89 kB / 0.9881 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.2618, allocations: 4 kB / 0.9881 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.2621, allocations: 51.86 kB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.2621, allocations: 8 kB / 0.9882 GB, free: 18.5 MB / 0.6198 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.0001611/0.2623, allocations: 206.6 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.2623, allocations: 23.72 kB / 0.9884 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.2624, allocations: 25.53 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2624, allocations: 0 / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2624, allocations: 0 / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2624, allocations: 7.969 kB / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.2627, allocations: 273.4 kB / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2627, allocations: 4 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.263, allocations: 59.88 kB / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.263, allocations: 4 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.263, allocations: 0 / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.263, allocations: 0 / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.263, allocations: 7.984 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.264, allocations: 366.3 kB / 0.9891 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.264, allocations: 92.83 kB / 0.9892 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.2641, allocations: 7.938 kB / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.2643, allocations: 47.94 kB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.2644, allocations: 35.95 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2644, allocations: 7.984 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001098/0.2646, allocations: 152.7 kB / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2646, allocations: 0 / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002928/0.2649, allocations: 75.84 kB / 0.9895 GB, free: 17.04 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.265, allocations: 103.2 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.2664, allocations: 0.6626 MB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2664, allocations: 0 / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.2669, allocations: 156.5 kB / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2672, allocations: 48.53 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.268, allocations: 410.1 kB / 0.9909 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2682, allocations: 0.7366 MB / 0.9916 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.2683, allocations: 21.55 kB / 0.9916 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.2684, allocations: 19.42 kB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2684, allocations: 0 / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.005043/0.2735, allocations: 2.772 MB / 0.9943 GB, free: 12.07 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)