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.88/1.88, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001248/0.001248, allocations: 181 kB / 371.8 MB, free: 10.29 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.864/1.864, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009143/0.0009143, allocations: 90.86 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004338, allocations: 11.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002423/0.2868, allocations: 1.642 MB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2881, allocations: 0.644 MB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.2884, allocations: 7.938 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.638e-05/0.2885, allocations: 11.86 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.2888, allocations: 47.84 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.2894, allocations: 116.9 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.2898, allocations: 163.7 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.29, allocations: 44.47 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.2902, allocations: 91.67 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.2904, allocations: 103.6 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.2904, allocations: 8 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.2905, allocations: 8 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.2905, allocations: 35.89 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.2906, allocations: 57.58 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.2909, allocations: 187.8 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2909, allocations: 0 / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2909, allocations: 0 / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.2909, allocations: 0 / 0.9825 GB, free: 24.52 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.001382/0.2923, allocations: 0.6357 MB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2923, allocations: 20.02 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.2925, allocations: 23.72 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.293, allocations: 271.5 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.293, allocations: 15.98 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.293, allocations: 12 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.2938, allocations: 260.6 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2938, allocations: 4 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2938, allocations: 4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2938, allocations: 4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.2947, allocations: 275.8 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.2956, allocations: 0.5234 MB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.2966, allocations: 318.5 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2966, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006234/0.2973, allocations: 215.2 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.554e-06/0.2973, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001455/0.2987, allocations: 460.2 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2988, allocations: 59.33 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.299, allocations: 215.2 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.299, allocations: 29.7 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.2991, allocations: 136.2 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.2991, allocations: 35.47 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.2992, allocations: 4 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.2992, allocations: 330.8 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.2997, allocations: 151.8 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.3001, allocations: 135.8 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.3006, allocations: 189.4 kB / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3006, allocations: 0 / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009517/0.3015, allocations: 404.6 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.3016, allocations: 149.2 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3016, allocations: 0 / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3017, allocations: 4 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3019, allocations: 67.81 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3019, allocations: 0 / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.3023, allocations: 59.78 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.3023, allocations: 4 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.3023, allocations: 5.719 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008128/0.3031, allocations: 369.4 kB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.3031, allocations: 4 kB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.3032, allocations: 0 / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.3034, allocations: 55.88 kB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.3034, allocations: 8 kB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.3036, allocations: 51.86 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3037, allocations: 4 kB / 0.9878 GB, free: 18.8 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.0001194/0.3038, allocations: 209.1 kB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.3038, allocations: 23.7 kB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.3039, allocations: 25.53 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3039, allocations: 0 / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3039, allocations: 0 / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3039, allocations: 3.984 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.3041, allocations: 273.4 kB / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3042, allocations: 4 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.3044, allocations: 63.88 kB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3044, allocations: 4 kB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3044, allocations: 0 / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3045, allocations: 0 / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3045, allocations: 3.984 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.3054, allocations: 364.6 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.3054, allocations: 92.83 kB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.3055, allocations: 7.938 kB / 0.9888 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3057, allocations: 51.94 kB / 0.9889 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.3059, allocations: 31.95 kB / 0.9889 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.3059, allocations: 8 kB / 0.9889 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001297/0.306, allocations: 156.7 kB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.306, allocations: 0 / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003624/0.3064, allocations: 71.84 kB / 0.9891 GB, free: 17.34 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.000125/0.3065, allocations: 111.2 kB / 0.9892 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.308, allocations: 0.6573 MB / 0.9899 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.308, allocations: 3.938 kB / 0.9899 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.3084, allocations: 151.8 kB / 0.99 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3087, allocations: 49.33 kB / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.3096, allocations: 398.9 kB / 0.9904 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.3097, allocations: 0.7406 MB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.3099, allocations: 21.55 kB / 0.9912 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.31, allocations: 19.42 kB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/0.31, allocations: 0 / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.005812/0.3158, allocations: 2.773 MB / 0.9939 GB, free: 12.37 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)