Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 181.2 kB / 327.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.5783 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000741/0.0007409, allocations: 82.42 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003517, allocations: 9.062 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.282, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002415/0.2845, allocations: 1.665 MB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2858, allocations: 0.6672 MB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.286, allocations: 3.938 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.2861, allocations: 15.86 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2863, allocations: 39.7 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.2867, allocations: 109.6 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.287, allocations: 251.2 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2872, allocations: 52.41 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2873, allocations: 87.67 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.2875, allocations: 91.58 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.2875, allocations: 12 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.075e-05/0.2876, allocations: 8 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.2876, allocations: 43.81 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.2877, allocations: 57.58 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.2879, allocations: 191.8 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.2879, allocations: 4 kB / 0.904 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2879, allocations: 0 / 0.904 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.2879, allocations: 0 / 0.904 GB, free: 60.56 MB / 0.6042 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.001213/0.2891, allocations: 0.6305 MB / 0.9046 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2892, allocations: 8.031 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.2892, allocations: 19.81 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.2896, allocations: 275.5 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2897, allocations: 12 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.2897, allocations: 19.92 kB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.2903, allocations: 264 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2903, allocations: 0 / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.2904, allocations: 0 / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2904, allocations: 4 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.2912, allocations: 267.8 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.2919, allocations: 0.5313 MB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/0.2929, allocations: 306.5 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.2933, allocations: 144.8 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.2934, allocations: 0 / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.294, allocations: 219.1 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.294, allocations: 0 / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001337/0.2953, allocations: 458.4 kB / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2954, allocations: 59.34 kB / 0.9071 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2955, allocations: 219.1 kB / 0.9073 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2956, allocations: 33.7 kB / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.2957, allocations: 128.3 kB / 0.9075 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.2957, allocations: 47.36 kB / 0.9075 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2957, allocations: 0 / 0.9075 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.2958, allocations: 334.8 kB / 0.9079 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.2963, allocations: 135.9 kB / 0.908 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.2967, allocations: 144.3 kB / 0.9081 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.2971, allocations: 181.9 kB / 0.9083 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2971, allocations: 4 kB / 0.9083 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009184/0.298, allocations: 408.5 kB / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.2981, allocations: 153.1 kB / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2981, allocations: 0 / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2982, allocations: 0 / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.2984, allocations: 59.94 kB / 0.9089 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2984, allocations: 3.938 kB / 0.9089 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.2987, allocations: 67.78 kB / 0.909 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2988, allocations: 4 kB / 0.909 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.2988, allocations: 4 kB / 0.909 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007889/0.2996, allocations: 365.2 kB / 0.9093 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-06/0.2996, allocations: 0 / 0.9093 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-06/0.2996, allocations: 0 / 0.9093 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2998, allocations: 63.94 kB / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.2998, allocations: 0 / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.3001, allocations: 63.73 kB / 0.9094 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3001, allocations: 4 kB / 0.9094 GB, free: 54.71 MB / 0.6042 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.0001413/0.3003, allocations: 209.1 kB / 0.9096 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.3003, allocations: 15.81 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.3004, allocations: 25.52 kB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3004, allocations: 4 kB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3004, allocations: 0 / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3004, allocations: 4 kB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.3006, allocations: 273.4 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3006, allocations: 0 / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.3009, allocations: 59.94 kB / 0.91 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3009, allocations: 0 / 0.91 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3009, allocations: 15.86 kB / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3009, allocations: 4 kB / 0.91 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3009, allocations: 3.984 kB / 0.91 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.3018, allocations: 354.3 kB / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3018, allocations: 96.84 kB / 0.9105 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3019, allocations: 11.94 kB / 0.9105 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.3022, allocations: 51.94 kB / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3023, allocations: 27.95 kB / 0.9106 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3023, allocations: 4 kB / 0.9106 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3024, allocations: 156.7 kB / 0.9107 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3024, allocations: 4 kB / 0.9107 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002914/0.3027, allocations: 71.84 kB / 0.9108 GB, free: 53.26 MB / 0.6042 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.0001555/0.3029, allocations: 111.1 kB / 0.9109 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.3043, allocations: 0.656 MB / 0.9115 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3043, allocations: 0 / 0.9115 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.3047, allocations: 155.8 kB / 0.9117 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3051, allocations: 45.3 kB / 0.9117 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.3059, allocations: 438.2 kB / 0.9121 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.3061, allocations: 0.725 MB / 0.9128 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.3062, allocations: 27.42 kB / 0.9129 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of SimCode: time 4.3e-07/0.3062, allocations: 4 kB / 0.9129 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.004156/0.3104, allocations: 2.783 MB / 0.9156 GB, free: 48.25 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)