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 2.843/2.843, allocations: 287.5 MB / 302.4 MB, free: 8.191 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.001336/0.001336, allocations: 179.5 kB / 371 MB, free: 10.86 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.205/2.205, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001048/0.001048, allocations: 90.05 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007532/0.0007536, allocations: 15.09 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2979, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00337/0.3014, allocations: 1.673 MB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3033, allocations: 0.6442 MB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.3035, allocations: 7.938 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.3036, allocations: 11.86 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.3039, allocations: 43.62 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.3046, allocations: 112.9 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.3051, allocations: 251.2 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.3053, allocations: 48.47 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3055, allocations: 87.67 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.3057, allocations: 103.5 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.3058, allocations: 8 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.3059, allocations: 12 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.306, allocations: 35.81 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.3061, allocations: 53.64 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.3064, allocations: 191.8 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3065, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3065, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3065, allocations: 0 / 0.9815 GB, free: 25.07 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.002376/0.3089, allocations: 0.6345 MB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.309, allocations: 12.02 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3091, allocations: 27.67 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.3098, allocations: 271.6 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.3099, allocations: 8 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.31, allocations: 12 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.3114, allocations: 268.6 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3115, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.3116, allocations: 8 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.3116, allocations: 4 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.3138, allocations: 271.8 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.3154, allocations: 0.535 MB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.3179, allocations: 310.5 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.3191, allocations: 141.7 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.3191, allocations: 4 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.3205, allocations: 219.2 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 5.15e-06/0.3205, allocations: 0 / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.003519/0.3241, allocations: 450.8 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.3242, allocations: 59.41 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.3246, allocations: 207.2 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.3247, allocations: 37.7 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3248, allocations: 132.2 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.3249, allocations: 47.39 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.3249, allocations: 4 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3251, allocations: 334.8 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.3262, allocations: 135.8 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3274, allocations: 139.9 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3285, allocations: 189.1 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3285, allocations: 4 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002548/0.3311, allocations: 400.6 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3312, allocations: 156.6 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3313, allocations: 0 / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.3313, allocations: 4 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.332, allocations: 59.88 kB / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.332, allocations: 4 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.3328, allocations: 59.8 kB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.3329, allocations: 7.984 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3329, allocations: 7.953 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/0.3351, allocations: 359.2 kB / 0.9868 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3352, allocations: 0 / 0.9868 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.3352, allocations: 4 kB / 0.9868 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.3358, allocations: 59.89 kB / 0.9869 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3358, allocations: 0 / 0.9869 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.3366, allocations: 55.84 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.3366, allocations: 11.95 kB / 0.987 GB, free: 19.21 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.0002476/0.3369, allocations: 209.1 kB / 0.9872 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.337, allocations: 15.81 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3371, allocations: 21.52 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3371, allocations: 8 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3371, allocations: 0 / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3372, allocations: 0 / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.3376, allocations: 281.3 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3376, allocations: 0 / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/0.3382, allocations: 63.88 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.3383, allocations: 0 / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.3383, allocations: 8 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3383, allocations: 4 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3384, allocations: 7.969 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.3408, allocations: 350.4 kB / 0.9879 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.3409, allocations: 104.8 kB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.341, allocations: 4 kB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.3417, allocations: 47.95 kB / 0.988 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3419, allocations: 27.94 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.342, allocations: 4 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002547/0.3423, allocations: 156.7 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.3423, allocations: 4 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007669/0.3431, allocations: 71.84 kB / 0.9883 GB, free: 17.76 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.0001774/0.3433, allocations: 115 kB / 0.9884 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003594/0.3469, allocations: 0.6667 MB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3469, allocations: 4 kB / 0.9891 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.3482, allocations: 151.8 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.3489, allocations: 36.64 kB / 0.9892 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.3506, allocations: 409.7 kB / 0.9896 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3508, allocations: 0.7289 MB / 0.9903 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003207/0.3512, allocations: 29.52 kB / 0.9904 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.3514, allocations: 19.44 kB / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.3514, allocations: 0 / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.01145/0.3628, allocations: 2.774 MB / 0.9931 GB, free: 12.78 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)