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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001441/0.001441, allocations: 195.9 kB / 16.14 MB, free: 6.738 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.561/1.561, allocations: 205.1 MB / 222 MB, free: 4.992 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.777/1.777, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001355/0.001355, allocations: 62.72 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2807, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.004201/0.285, allocations: 2.066 MB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2866, allocations: 0.6868 MB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.2868, allocations: 7.938 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.653e-05/0.2869, allocations: 15.84 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.2872, allocations: 35.7 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.2878, allocations: 149.3 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.2883, allocations: 263.2 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.2885, allocations: 64.27 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2887, allocations: 95.62 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2889, allocations: 115.5 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.289, allocations: 12 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.289, allocations: 12 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.2891, allocations: 47.77 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.2892, allocations: 91.45 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2895, allocations: 259.4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2896, allocations: 4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2896, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.2896, allocations: 0 / 0.7865 GB, free: 10.06 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.001548/0.2911, allocations: 0.6228 MB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.2912, allocations: 12.03 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.2913, allocations: 24.66 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.2918, allocations: 272.8 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2919, allocations: 8.375 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.2919, allocations: 16.38 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.2926, allocations: 248.3 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2926, allocations: 0 / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2927, allocations: 8 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2927, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.2935, allocations: 223.8 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.2944, allocations: 0.5195 MB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.2954, allocations: 269.4 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.2958, allocations: 124.7 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.2959, allocations: 0 / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/0.2966, allocations: 199.1 kB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.2966, allocations: 0 / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001428/0.2981, allocations: 384.1 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.2982, allocations: 63.39 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.2984, allocations: 215.1 kB / 0.7896 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.2985, allocations: 29.7 kB / 0.7896 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.2986, allocations: 136.3 kB / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.2987, allocations: 43.36 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2988, allocations: 37.7 kB / 0.7898 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.299, allocations: 330.8 kB / 0.7901 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.2994, allocations: 116.7 kB / 0.7902 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.2998, allocations: 123.8 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008271/0.3007, allocations: 270.8 kB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3007, allocations: 0 / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001019/0.3017, allocations: 364.5 kB / 0.791 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.387e-05/0.3018, allocations: 63.41 kB / 0.791 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3018, allocations: 0 / 0.791 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.3019, allocations: 3.984 kB / 0.791 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.3021, allocations: 47.89 kB / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3022, allocations: 4 kB / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.3025, allocations: 47.78 kB / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3025, allocations: 4 kB / 0.7911 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004684/0.303, allocations: 204 kB / 0.7913 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003507/0.3033, allocations: 103.9 kB / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007045/0.3041, allocations: 254.7 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.3041, allocations: 0 / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008721/0.3049, allocations: 347.4 kB / 0.792 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/0.305, allocations: 67.33 kB / 0.7921 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.305, allocations: 3.938 kB / 0.7921 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/0.305, allocations: 0 / 0.7921 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.3053, allocations: 43.95 kB / 0.7921 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3053, allocations: 0 / 0.7921 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.3055, allocations: 47.81 kB / 0.7921 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.3056, allocations: 8 kB / 0.7922 GB, free: 3.918 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.0001573/0.3057, allocations: 191.2 kB / 0.7923 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.3058, allocations: 27.59 kB / 0.7924 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.3058, allocations: 21.52 kB / 0.7924 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3059, allocations: 0 / 0.7924 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3059, allocations: 4 kB / 0.7924 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3059, allocations: 4 kB / 0.7924 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3062, allocations: 269.5 kB / 0.7926 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3062, allocations: 3.938 kB / 0.7927 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.3064, allocations: 43.94 kB / 0.7927 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.3064, allocations: 0 / 0.7927 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.3065, allocations: 8 kB / 0.7927 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3065, allocations: 4 kB / 0.7927 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3065, allocations: 3.938 kB / 0.7927 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.3074, allocations: 308.6 kB / 0.793 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.3075, allocations: 104.8 kB / 0.7931 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.3075, allocations: 4 kB / 0.7931 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3078, allocations: 35.95 kB / 0.7931 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3079, allocations: 27.95 kB / 0.7932 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3079, allocations: 4 kB / 0.7932 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001383/0.308, allocations: 160.6 kB / 0.7933 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3081, allocations: 4 kB / 0.7933 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000365/0.3084, allocations: 75.84 kB / 0.7934 GB, free: 2.555 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.0001552/0.3086, allocations: 103.2 kB / 0.7935 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.31, allocations: 0.5909 MB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.31, allocations: 0 / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.3105, allocations: 123.8 kB / 0.7942 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.311, allocations: 48.56 kB / 0.7942 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3121, allocations: 429.5 kB / 0.7946 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.3125, allocations: 0.7326 MB / 0.7954 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.3127, allocations: 21.55 kB / 0.7954 GB, free: 420 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.3128, allocations: 23.44 kB / 0.7954 GB, free: 400 kB / 0.6075 GB Notification: Performance of SimCode: time 1.192e-06/0.3128, allocations: 0 / 0.7954 GB, free: 400 kB / 0.6075 GB Notification: Performance of Templates: time 0.008156/0.321, allocations: 2.879 MB / 0.7982 GB, free: 13.54 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)