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.001304/0.001304, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 189.1 kB / 16.62 MB, free: 6.613 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.832/1.832, allocations: 292.3 MB / 0.5489 GB, free: 12.73 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.001468/0.001469, allocations: 68.61 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2853, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00357/0.2889, allocations: 2.012 MB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2903, allocations: 0.6828 MB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2905, allocations: 7.938 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.774e-05/0.2906, allocations: 27.66 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.2908, allocations: 51.56 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.2912, allocations: 158.5 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.2916, allocations: 283.2 kB / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.2918, allocations: 68.27 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.292, allocations: 111.6 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.2921, allocations: 135.4 kB / 0.7876 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.2922, allocations: 24 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.126e-05/0.2922, allocations: 28 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.2923, allocations: 47.83 kB / 0.7877 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2924, allocations: 107.5 kB / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.2928, allocations: 271 kB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2928, allocations: 4 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2928, allocations: 0 / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.2928, allocations: 0 / 0.788 GB, free: 8.695 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.001467/0.2943, allocations: 0.6228 MB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2943, allocations: 12.03 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.2944, allocations: 24.66 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.2949, allocations: 280.8 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.295, allocations: 16.3 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.295, allocations: 12.38 kB / 0.789 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.2957, allocations: 252.3 kB / 0.7892 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2957, allocations: 0 / 0.7892 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.2957, allocations: 8 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2958, allocations: 0 / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.2966, allocations: 219.8 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.2975, allocations: 0.5118 MB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2985, allocations: 274.5 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.299, allocations: 120.7 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.2991, allocations: 4 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/0.2996, allocations: 187.2 kB / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.2997, allocations: 0 / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001431/0.3011, allocations: 392.1 kB / 0.7908 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.3012, allocations: 55.41 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3014, allocations: 219.1 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.3015, allocations: 29.7 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.3016, allocations: 132.3 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.3016, allocations: 43.36 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.3017, allocations: 37.7 kB / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.3019, allocations: 334.8 kB / 0.7917 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.3024, allocations: 120.8 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.3028, allocations: 111.9 kB / 0.7919 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.3037, allocations: 274.8 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3037, allocations: 0 / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001017/0.3047, allocations: 373.4 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.3048, allocations: 59.39 kB / 0.7926 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3048, allocations: 7.984 kB / 0.7926 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.3048, allocations: 4 kB / 0.7926 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.3051, allocations: 43.94 kB / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.3051, allocations: 3.938 kB / 0.7926 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.3054, allocations: 47.83 kB / 0.7927 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3054, allocations: 4 kB / 0.7927 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004552/0.3059, allocations: 204.6 kB / 0.7929 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003574/0.3063, allocations: 106.3 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007086/0.307, allocations: 252.1 kB / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.307, allocations: 0 / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008951/0.3079, allocations: 351.6 kB / 0.7935 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.308, allocations: 61.84 kB / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.308, allocations: 0 / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.308, allocations: 4 kB / 0.7936 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3082, allocations: 47.89 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3082, allocations: 7.984 kB / 0.7937 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.3085, allocations: 39.8 kB / 0.7937 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3085, allocations: 11.98 kB / 0.7937 GB, free: 2.535 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.0001285/0.3086, allocations: 184.3 kB / 0.7939 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.3087, allocations: 19.75 kB / 0.7939 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/0.3088, allocations: 29.52 kB / 0.7939 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3088, allocations: 4 kB / 0.7939 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3088, allocations: 0 / 0.7939 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3088, allocations: 0 / 0.7939 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.3091, allocations: 273.3 kB / 0.7942 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3091, allocations: 3.938 kB / 0.7942 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.3094, allocations: 43.94 kB / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3094, allocations: 8 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3094, allocations: 7.984 kB / 0.7942 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3094, allocations: 4 kB / 0.7943 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3094, allocations: 0 / 0.7943 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.3104, allocations: 300.7 kB / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.3105, allocations: 104.8 kB / 0.7946 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3105, allocations: 4 kB / 0.7946 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3108, allocations: 35.94 kB / 0.7947 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3109, allocations: 39.84 kB / 0.7947 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3109, allocations: 4 kB / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002085/0.3111, allocations: 160.6 kB / 0.7949 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.723e-06/0.3111, allocations: 0 / 0.7949 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003258/0.3115, allocations: 79.78 kB / 0.7949 GB, free: 1.168 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.0001495/0.3116, allocations: 99.25 kB / 0.795 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.3131, allocations: 0.5948 MB / 0.7956 GB, free: 424 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3132, allocations: 4 kB / 0.7956 GB, free: 420 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.3136, allocations: 130.2 kB / 0.7958 GB, free: 292 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.314, allocations: 50.06 kB / 0.7958 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009584/0.3149, allocations: 348.6 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3153, allocations: 0.7362 MB / 0.7969 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00012/0.3154, allocations: 25.53 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.3155, allocations: 23.44 kB / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.3155, allocations: 0 / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.006865/0.3224, allocations: 3.23 MB / 0.8001 GB, free: 11.88 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)