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.001212/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001436/0.001436, allocations: 190.5 kB / 16.25 MB, free: 6.625 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.611/1.611, allocations: 205.1 MB / 222.1 MB, free: 4.93 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.685/1.685, allocations: 292.3 MB / 0.5485 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.001389/0.00139, allocations: 65.27 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2698, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003326/0.2732, allocations: 2.077 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2743, allocations: 0.6711 MB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.2744, allocations: 11.94 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.652e-05/0.2745, allocations: 15.84 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2746, allocations: 35.7 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.2751, allocations: 143 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.2754, allocations: 295.2 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.2756, allocations: 60.28 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2757, allocations: 111.6 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.2758, allocations: 119.5 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.2759, allocations: 24 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.83e-05/0.2759, allocations: 28 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.276, allocations: 59.75 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2761, allocations: 107.5 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2764, allocations: 271.4 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2764, allocations: 0 / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2764, allocations: 0 / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2764, allocations: 8 kB / 0.7868 GB, free: 9.848 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.001268/0.2777, allocations: 0.615 MB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2777, allocations: 12.03 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.2778, allocations: 28.66 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.2782, allocations: 272.8 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2782, allocations: 8.375 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.2783, allocations: 16.38 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.2789, allocations: 248.3 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2789, allocations: 0 / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.279, allocations: 8 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.279, allocations: 4 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.2798, allocations: 219.8 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007518/0.2806, allocations: 0.5157 MB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.2815, allocations: 270.4 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.2819, allocations: 120.7 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.282, allocations: 0 / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006074/0.2826, allocations: 194.4 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2826, allocations: 4 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001294/0.2839, allocations: 384.9 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.284, allocations: 63.39 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.2842, allocations: 211.2 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2842, allocations: 33.7 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.2843, allocations: 132.3 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.2844, allocations: 43.36 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.2844, allocations: 45.64 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2846, allocations: 326.8 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.285, allocations: 120.7 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.2854, allocations: 115.9 kB / 0.7906 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.2862, allocations: 274.8 kB / 0.7909 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2862, allocations: 0 / 0.7909 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009124/0.2871, allocations: 364.5 kB / 0.7912 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.2872, allocations: 63.41 kB / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2872, allocations: 0 / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2872, allocations: 3.984 kB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.2875, allocations: 43.95 kB / 0.7913 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2875, allocations: 8 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.2878, allocations: 47.78 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.2878, allocations: 7.938 kB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004153/0.2882, allocations: 200 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003489/0.2886, allocations: 107.9 kB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000667/0.2893, allocations: 254.3 kB / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.2893, allocations: 0 / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0007975/0.2901, allocations: 347.2 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.2901, allocations: 67.33 kB / 0.7923 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.2901, allocations: 0 / 0.7923 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.2901, allocations: 0 / 0.7923 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2904, allocations: 47.89 kB / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-06/0.2904, allocations: 0 / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.2906, allocations: 39.88 kB / 0.7924 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2906, allocations: 12 kB / 0.7924 GB, free: 3.711 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.0001145/0.2908, allocations: 190.7 kB / 0.7926 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.2908, allocations: 23.66 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.2909, allocations: 21.52 kB / 0.7927 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2909, allocations: 4 kB / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2909, allocations: 0 / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2909, allocations: 0 / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.2911, allocations: 273.5 kB / 0.7929 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2911, allocations: 3.938 kB / 0.7929 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.2914, allocations: 51.81 kB / 0.793 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2914, allocations: 0 / 0.793 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.2914, allocations: 11.94 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2914, allocations: 0 / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2915, allocations: 0 / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.2923, allocations: 304.6 kB / 0.7933 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.2924, allocations: 104.8 kB / 0.7934 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.2924, allocations: 4 kB / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.2927, allocations: 35.95 kB / 0.7934 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/0.2928, allocations: 31.95 kB / 0.7934 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2928, allocations: 7.938 kB / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001239/0.2929, allocations: 156.6 kB / 0.7936 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2929, allocations: 0 / 0.7936 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003062/0.2932, allocations: 71.84 kB / 0.7937 GB, free: 2.355 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.0001304/0.2934, allocations: 115.2 kB / 0.7938 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.2948, allocations: 0.6015 MB / 0.7944 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2948, allocations: 0 / 0.7944 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.2952, allocations: 127.9 kB / 0.7945 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2956, allocations: 47.42 kB / 0.7945 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.2964, allocations: 424.5 kB / 0.7949 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2967, allocations: 0.7285 MB / 0.7956 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.2968, allocations: 29.52 kB / 0.7957 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.2969, allocations: 23.44 kB / 0.7957 GB, free: 172 kB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2969, allocations: 4 kB / 0.7957 GB, free: 168 kB / 0.6075 GB Notification: Performance of Templates: time 0.005739/0.3027, allocations: 3.052 MB / 0.7987 GB, free: 13.15 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)