Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.169/2.169, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.002195/0.002195, allocations: 182.4 kB / 376.9 MB, free: 1.82 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.735/1.735, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 102.8 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.001191, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3024, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.004026/0.3065, allocations: 2.065 MB / 0.9842 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3079, allocations: 0.6867 MB / 0.9849 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.3081, allocations: 0 / 0.9849 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.813e-05/0.3082, allocations: 11.86 kB / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.3085, allocations: 47.62 kB / 0.985 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.309, allocations: 143.8 kB / 0.9851 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.3093, allocations: 263.2 kB / 0.9854 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3095, allocations: 56.3 kB / 0.9854 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.3097, allocations: 107.5 kB / 0.9855 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3099, allocations: 115.5 kB / 0.9856 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.31, allocations: 12 kB / 0.9856 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.31, allocations: 15.94 kB / 0.9857 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.3101, allocations: 39.89 kB / 0.9857 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3102, allocations: 95.44 kB / 0.9858 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.3105, allocations: 251.4 kB / 0.986 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3106, allocations: 0 / 0.986 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3106, allocations: 0 / 0.986 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3106, allocations: 0 / 0.986 GB, free: 6.461 MB / 0.7136 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.001549/0.3121, allocations: 0.637 MB / 0.9866 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3122, allocations: 12.03 kB / 0.9867 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.3123, allocations: 24.66 kB / 0.9867 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.3127, allocations: 276.8 kB / 0.9869 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3128, allocations: 12.38 kB / 0.987 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.3128, allocations: 16.38 kB / 0.987 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.3135, allocations: 232.4 kB / 0.9872 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3135, allocations: 4 kB / 0.9872 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.3135, allocations: 8 kB / 0.9872 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3136, allocations: 7.938 kB / 0.9872 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008852/0.3145, allocations: 227.7 kB / 0.9874 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008897/0.3154, allocations: 0.5196 MB / 0.9879 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3164, allocations: 262.5 kB / 0.9882 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.3168, allocations: 116.7 kB / 0.9883 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.3169, allocations: 3.938 kB / 0.9883 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006715/0.3176, allocations: 205.3 kB / 0.9885 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.3176, allocations: 0 / 0.9885 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001468/0.3191, allocations: 385 kB / 0.9889 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3191, allocations: 59.41 kB / 0.9889 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.3193, allocations: 215.1 kB / 0.9891 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3194, allocations: 29.7 kB / 0.9892 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.3195, allocations: 132.3 kB / 0.9893 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.3195, allocations: 43.36 kB / 0.9893 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.3196, allocations: 37.7 kB / 0.9894 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3198, allocations: 338.8 kB / 0.9897 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.3202, allocations: 112.8 kB / 0.9898 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.3207, allocations: 123.8 kB / 0.9899 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008419/0.3215, allocations: 272 kB / 0.9902 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3215, allocations: 0 / 0.9902 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001028/0.3226, allocations: 358.4 kB / 0.9905 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.3226, allocations: 69.73 kB / 0.9906 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3226, allocations: 3.938 kB / 0.9906 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.3227, allocations: 0 / 0.9906 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.323, allocations: 47.94 kB / 0.9906 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.323, allocations: 0 / 0.9906 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.3233, allocations: 47.8 kB / 0.9907 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3233, allocations: 7.984 kB / 0.9907 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004688/0.3238, allocations: 200 kB / 0.9909 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003783/0.3242, allocations: 107.9 kB / 0.991 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007306/0.3249, allocations: 257.7 kB / 0.9912 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.325, allocations: 0 / 0.9912 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008927/0.3259, allocations: 346.6 kB / 0.9915 GB, free: 492 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.3259, allocations: 63.34 kB / 0.9916 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.3259, allocations: 0 / 0.9916 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.3259, allocations: 4 kB / 0.9916 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.3262, allocations: 47.94 kB / 0.9917 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.3262, allocations: 0 / 0.9917 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.3264, allocations: 35.89 kB / 0.9917 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3265, allocations: 8 kB / 0.9917 GB, free: 320 kB / 0.7136 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 0.0001451/0.3266, allocations: 200.8 kB / 0.9919 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.3267, allocations: 27.64 kB / 0.9919 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.3268, allocations: 17.53 kB / 0.9919 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3268, allocations: 0 / 0.9919 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.3268, allocations: 4 kB / 0.9919 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3268, allocations: 0 / 0.9919 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3271, allocations: 277.4 kB / 0.9922 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3271, allocations: 3.938 kB / 0.9922 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3274, allocations: 43.95 kB / 0.9922 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3274, allocations: 0 / 0.9922 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.3274, allocations: 11.98 kB / 0.9923 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3274, allocations: 0 / 0.9923 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3274, allocations: 4 kB / 0.9923 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.3291, allocations: 1.001 MB / 0.9932 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.3292, allocations: 96.83 kB / 0.9933 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.3293, allocations: 7.938 kB / 0.9933 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.3295, allocations: 39.94 kB / 0.9934 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3297, allocations: 23.91 kB / 0.9934 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3297, allocations: 7.984 kB / 0.9934 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001582/0.3299, allocations: 164.6 kB / 0.9936 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3299, allocations: 0 / 0.9936 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005631/0.3304, allocations: 75.84 kB / 0.9936 GB, free: 14.2 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.3306, allocations: 107.2 kB / 0.9937 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.3321, allocations: 0.5871 MB / 0.9943 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3321, allocations: 0 / 0.9943 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.3326, allocations: 127.8 kB / 0.9944 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.333, allocations: 44.58 kB / 0.9945 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.334, allocations: 0.5584 MB / 0.995 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3343, allocations: 0.7326 MB / 0.9957 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.3345, allocations: 21.55 kB / 0.9958 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.3346, allocations: 23.42 kB / 0.9958 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/0.3346, allocations: 0 / 0.9958 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.007061/0.3417, allocations: 3.028 MB / 0.9987 GB, free: 8.863 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)