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.001238/0.001238, allocations: 104.7 kB / 15.98 MB, free: 6.352 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.001142/0.001142, allocations: 193.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.742/1.742, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001386/0.001386, allocations: 72.28 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2725, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00345/0.276, allocations: 2.062 MB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2771, allocations: 0.675 MB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2773, allocations: 4 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.628e-05/0.2773, allocations: 15.86 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.2775, allocations: 43.62 kB / 0.7863 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.2779, allocations: 140 kB / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.2783, allocations: 287.2 kB / 0.7867 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2784, allocations: 68.27 kB / 0.7867 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.2786, allocations: 115.6 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2788, allocations: 127.4 kB / 0.787 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.2788, allocations: 24 kB / 0.787 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-05/0.2788, allocations: 24 kB / 0.787 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.2789, allocations: 55.81 kB / 0.7871 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.279, allocations: 107.5 kB / 0.7872 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2792, allocations: 199.8 kB / 0.7874 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2793, allocations: 4 kB / 0.7874 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2793, allocations: 0 / 0.7874 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.2793, allocations: 0 / 0.7874 GB, free: 9.938 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.001315/0.2806, allocations: 0.6266 MB / 0.788 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2807, allocations: 12.03 kB / 0.788 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.2807, allocations: 28.66 kB / 0.788 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.2811, allocations: 276.8 kB / 0.7883 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2812, allocations: 12.38 kB / 0.7883 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.2812, allocations: 12.38 kB / 0.7883 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.2818, allocations: 240.4 kB / 0.7885 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2819, allocations: 4 kB / 0.7885 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2819, allocations: 4 kB / 0.7885 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2819, allocations: 4 kB / 0.7885 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.2827, allocations: 227.7 kB / 0.7888 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.2835, allocations: 0.5157 MB / 0.7893 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009582/0.2845, allocations: 258.5 kB / 0.7895 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.2849, allocations: 120.7 kB / 0.7896 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.2849, allocations: 0 / 0.7896 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006068/0.2855, allocations: 194 kB / 0.7898 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/0.2856, allocations: 3.938 kB / 0.7898 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001326/0.2869, allocations: 389 kB / 0.7902 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2869, allocations: 55.41 kB / 0.7902 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.2871, allocations: 219.1 kB / 0.7904 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.2872, allocations: 37.64 kB / 0.7905 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.2873, allocations: 132.3 kB / 0.7906 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.2873, allocations: 43.36 kB / 0.7906 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.2874, allocations: 45.7 kB / 0.7907 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2876, allocations: 330.8 kB / 0.791 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.288, allocations: 112.8 kB / 0.7911 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.2884, allocations: 119.9 kB / 0.7912 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.2892, allocations: 270.8 kB / 0.7915 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2892, allocations: 0 / 0.7915 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009562/0.2902, allocations: 365.4 kB / 0.7918 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.2902, allocations: 67.39 kB / 0.7919 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2903, allocations: 0 / 0.7919 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2903, allocations: 4 kB / 0.7919 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.2906, allocations: 47.88 kB / 0.7919 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2906, allocations: 0 / 0.7919 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.2909, allocations: 43.89 kB / 0.792 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.2909, allocations: 7.984 kB / 0.792 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004133/0.2913, allocations: 203.9 kB / 0.7922 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003493/0.2917, allocations: 107.9 kB / 0.7923 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006571/0.2923, allocations: 258.6 kB / 0.7925 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.2923, allocations: 0 / 0.7925 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008159/0.2932, allocations: 340.6 kB / 0.7929 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.2932, allocations: 70.16 kB / 0.7929 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2932, allocations: 3.984 kB / 0.7929 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-06/0.2932, allocations: 0 / 0.7929 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.2935, allocations: 43.94 kB / 0.793 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.2935, allocations: 0 / 0.793 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2937, allocations: 47.8 kB / 0.793 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2937, allocations: 4 kB / 0.793 GB, free: 3.793 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 (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.0001417/0.2939, allocations: 199.1 kB / 0.7932 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.2939, allocations: 19.75 kB / 0.7932 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.294, allocations: 25.45 kB / 0.7933 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.294, allocations: 4 kB / 0.7933 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.294, allocations: 0 / 0.7933 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.294, allocations: 0 / 0.7933 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.2943, allocations: 277.4 kB / 0.7935 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2943, allocations: 3.938 kB / 0.7935 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.2946, allocations: 47.94 kB / 0.7936 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2946, allocations: 3.938 kB / 0.7936 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2946, allocations: 11.98 kB / 0.7936 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2946, allocations: 0 / 0.7936 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2946, allocations: 0 / 0.7936 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.2955, allocations: 307.7 kB / 0.7939 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2956, allocations: 100.8 kB / 0.794 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.2956, allocations: 4 kB / 0.794 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2959, allocations: 43.94 kB / 0.794 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.296, allocations: 23.97 kB / 0.794 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.296, allocations: 8 kB / 0.7941 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001421/0.2962, allocations: 160.6 kB / 0.7942 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2962, allocations: 0 / 0.7942 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003267/0.2965, allocations: 71.84 kB / 0.7943 GB, free: 2.426 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 (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.0001406/0.2967, allocations: 107.2 kB / 0.7944 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.2983, allocations: 0.6026 MB / 0.795 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2983, allocations: 0 / 0.795 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.2988, allocations: 127.8 kB / 0.7951 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2991, allocations: 39.62 kB / 0.7951 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.3001, allocations: 442.3 kB / 0.7955 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3004, allocations: 0.7363 MB / 0.7963 GB, free: 272 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/0.3005, allocations: 15.44 kB / 0.7963 GB, free: 260 kB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.3005, allocations: 4 kB / 0.7963 GB, free: 256 kB / 0.6075 GB Notification: Performance of Templates: time 0.004905/0.3054, allocations: 2.809 MB / 0.799 GB, free: 13.46 MB / 0.6231 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)