Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.081/3.081, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.001593/0.001594, allocations: 182.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001552/0.001552, allocations: 90.97 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005004, allocations: 12.02 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002564/0.2353, allocations: 1.64 MB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2367, allocations: 0.6404 MB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.2369, allocations: 3.938 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.237, allocations: 11.86 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2372, allocations: 55.83 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.2378, allocations: 115.7 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.2381, allocations: 159.7 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2382, allocations: 48.47 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.2384, allocations: 91.66 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2386, allocations: 99.58 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.2386, allocations: 8 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.2387, allocations: 12 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.2387, allocations: 35.81 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.2388, allocations: 61.64 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2391, allocations: 183.8 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2391, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2391, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2391, allocations: 4 kB / 0.9813 GB, free: 25.2 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.001798/0.2409, allocations: 0.6306 MB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.241, allocations: 12.02 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.145e-05/0.2411, allocations: 23.72 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.2416, allocations: 271.5 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.2417, allocations: 12 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.2417, allocations: 16 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.2428, allocations: 268.5 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2428, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.2429, allocations: 7.938 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.2429, allocations: 4 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.2445, allocations: 275.7 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.2456, allocations: 0.5312 MB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.2475, allocations: 310.5 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.2476, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.2486, allocations: 225.1 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.946e-06/0.2487, allocations: 0 / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002577/0.2512, allocations: 449.1 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.2513, allocations: 55.41 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.2516, allocations: 211.2 kB / 0.9845 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.2517, allocations: 37.62 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.2518, allocations: 136.2 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.2518, allocations: 39.45 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.2519, allocations: 4 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.252, allocations: 334.8 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.2528, allocations: 131.9 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.2536, allocations: 151.2 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.2544, allocations: 183.3 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2544, allocations: 0 / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001789/0.2562, allocations: 402.9 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.946e-05/0.2563, allocations: 153.1 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2563, allocations: 0 / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2564, allocations: 0 / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.2569, allocations: 67.88 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2569, allocations: 0 / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.2574, allocations: 63.78 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.2575, allocations: 12 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2575, allocations: 4 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/0.259, allocations: 363.1 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2591, allocations: 3.938 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.2591, allocations: 0 / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.2595, allocations: 59.89 kB / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2596, allocations: 0 / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.2601, allocations: 59.84 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.2601, allocations: 4 kB / 0.9866 GB, free: 19.48 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.0001913/0.2603, allocations: 209.6 kB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.2604, allocations: 19.72 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.2605, allocations: 25.52 kB / 0.9868 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2605, allocations: 7.938 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2605, allocations: 4 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.2605, allocations: 0 / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.2608, allocations: 273.4 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2608, allocations: 0 / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.2613, allocations: 59.88 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2613, allocations: 4 kB / 0.9871 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.2613, allocations: 7.984 kB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2614, allocations: 4 kB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2614, allocations: 0 / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.2631, allocations: 350.7 kB / 0.9875 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2632, allocations: 100.8 kB / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.2633, allocations: 4 kB / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.2638, allocations: 51.94 kB / 0.9876 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.264, allocations: 27.95 kB / 0.9877 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.264, allocations: 8 kB / 0.9877 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001782/0.2642, allocations: 156.7 kB / 0.9878 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2642, allocations: 3.938 kB / 0.9878 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004808/0.2647, allocations: 75.83 kB / 0.9879 GB, free: 18.02 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.0001346/0.2648, allocations: 103.2 kB / 0.988 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.2674, allocations: 0.6554 MB / 0.9886 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2674, allocations: 0 / 0.9886 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.2683, allocations: 159.8 kB / 0.9888 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.2687, allocations: 44.58 kB / 0.9888 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2699, allocations: 405.6 kB / 0.9892 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.2701, allocations: 0.7328 MB / 0.9899 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.2704, allocations: 29.52 kB / 0.99 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2705, allocations: 15.44 kB / 0.99 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.874e-06/0.2705, allocations: 7.938 kB / 0.99 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.01017/0.2807, allocations: 2.778 MB / 0.9927 GB, free: 13.05 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)