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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007966/0.0007966, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007832/0.0007833, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005385, allocations: 14.91 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2577, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00221/0.26, allocations: 1.677 MB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.2609, allocations: 0.6442 MB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2611, allocations: 7.938 kB / 0.7896 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.2611, allocations: 11.86 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.2613, allocations: 39.66 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.2616, allocations: 122.9 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.2619, allocations: 247.2 kB / 0.79 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.2621, allocations: 52.45 kB / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2622, allocations: 83.69 kB / 0.7901 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.2623, allocations: 103.5 kB / 0.7902 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2624, allocations: 8 kB / 0.7902 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.117e-05/0.2624, allocations: 12 kB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.2625, allocations: 35.83 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.2625, allocations: 57.64 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2627, allocations: 191.7 kB / 0.7905 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2628, allocations: 0 / 0.7905 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2628, allocations: 0 / 0.7905 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2628, allocations: 4 kB / 0.7905 GB, free: 8.633 MB / 0.6075 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.00116/0.2639, allocations: 0.6267 MB / 0.7911 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.264, allocations: 8.031 kB / 0.7911 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.264, allocations: 23.72 kB / 0.7911 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2644, allocations: 275.5 kB / 0.7914 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2645, allocations: 8 kB / 0.7914 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.2645, allocations: 12 kB / 0.7914 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.2651, allocations: 268 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2651, allocations: 0 / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.2652, allocations: 8 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2652, allocations: 4 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.266, allocations: 267.7 kB / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.2667, allocations: 0.5235 MB / 0.7924 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.2676, allocations: 314.5 kB / 0.7927 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.268, allocations: 140.8 kB / 0.7929 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.2681, allocations: 4 kB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.2686, allocations: 215.2 kB / 0.7931 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.2686, allocations: 3.984 kB / 0.7931 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001277/0.2699, allocations: 453 kB / 0.7935 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.27, allocations: 55.41 kB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.2702, allocations: 227.1 kB / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.2702, allocations: 29.7 kB / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.2703, allocations: 128.2 kB / 0.7939 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.2704, allocations: 47.44 kB / 0.794 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.2704, allocations: 3.938 kB / 0.794 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2705, allocations: 334.8 kB / 0.7943 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.2709, allocations: 135.9 kB / 0.7944 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.2713, allocations: 147.8 kB / 0.7946 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.2717, allocations: 187.3 kB / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2718, allocations: 0 / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008837/0.2726, allocations: 399.4 kB / 0.7951 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.2727, allocations: 153.1 kB / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2728, allocations: 0 / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2728, allocations: 7.938 kB / 0.7953 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.273, allocations: 55.94 kB / 0.7954 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2731, allocations: 4 kB / 0.7954 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2733, allocations: 63.78 kB / 0.7954 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.2733, allocations: 4 kB / 0.7954 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.2734, allocations: 4 kB / 0.7954 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007993/0.2742, allocations: 363.1 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.2742, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.2742, allocations: 4 kB / 0.7958 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.2744, allocations: 63.88 kB / 0.7958 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.2744, allocations: 0 / 0.7958 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.2746, allocations: 55.86 kB / 0.7959 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.2747, allocations: 4 kB / 0.7959 GB, free: 2.789 MB / 0.6075 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.0001538/0.2748, allocations: 210 kB / 0.7961 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.2749, allocations: 19.72 kB / 0.7961 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.2749, allocations: 29.52 kB / 0.7961 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2749, allocations: 4 kB / 0.7961 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2749, allocations: 3.938 kB / 0.7961 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2749, allocations: 0 / 0.7961 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.2752, allocations: 273.4 kB / 0.7964 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2752, allocations: 0 / 0.7964 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2755, allocations: 63.94 kB / 0.7965 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2755, allocations: 0 / 0.7965 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.2755, allocations: 11.92 kB / 0.7965 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2755, allocations: 0 / 0.7965 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2755, allocations: 0 / 0.7965 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.2763, allocations: 356 kB / 0.7968 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.2764, allocations: 104.8 kB / 0.7969 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.2765, allocations: 7.938 kB / 0.7969 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2767, allocations: 47.94 kB / 0.797 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.2768, allocations: 27.95 kB / 0.797 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2768, allocations: 8 kB / 0.797 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001447/0.277, allocations: 160.6 kB / 0.7972 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.277, allocations: 7.938 kB / 0.7972 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003085/0.2773, allocations: 67.84 kB / 0.7972 GB, free: 1.328 MB / 0.6075 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.0001295/0.2774, allocations: 105.9 kB / 0.7973 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.2788, allocations: 0.6613 MB / 0.798 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2788, allocations: 0 / 0.798 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.2792, allocations: 155.8 kB / 0.7981 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2796, allocations: 39.17 kB / 0.7982 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.2804, allocations: 416.6 kB / 0.7986 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.2807, allocations: 0.7327 MB / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.2808, allocations: 25.53 kB / 0.7993 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.2809, allocations: 19.44 kB / 0.7993 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2809, allocations: 0 / 0.7993 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.005702/0.2866, allocations: 2.773 MB / 0.802 GB, free: 12.34 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: