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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.5 MB / 266.7 MB, free: 11 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.001135/0.001135, allocations: 170 kB / 325.8 MB, free: 2.676 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.247/2.247, allocations: 205 MB / 0.576 GB, free: 21 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.0008497/0.0008499, allocations: 90.97 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 8.719 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002038/0.2458, allocations: 1.745 MB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.2468, allocations: 0.698 MB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.2469, allocations: 4 kB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.144e-05/0.2469, allocations: 11.86 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.2471, allocations: 43.62 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.2475, allocations: 142.6 kB / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2477, allocations: 263.2 kB / 0.899 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2478, allocations: 60.27 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-05/0.2479, allocations: 95.56 kB / 0.8992 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.248, allocations: 107.5 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.2481, allocations: 8 kB / 0.8993 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.2481, allocations: 12 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.2482, allocations: 31.83 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.2483, allocations: 91.45 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2485, allocations: 239.1 kB / 0.8997 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2485, allocations: 4 kB / 0.8997 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2485, allocations: 3.938 kB / 0.8997 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2485, allocations: 0 / 0.8997 GB, free: 64.47 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.001032/0.2495, allocations: 0.6307 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2496, allocations: 12.03 kB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.2496, allocations: 46.73 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.2497, allocations: 24.66 kB / 0.9004 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.25, allocations: 272.8 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.25, allocations: 16.38 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.2501, allocations: 12.38 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.2507, allocations: 264.2 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2507, allocations: 0 / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.2507, allocations: 11.98 kB / 0.9009 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2507, allocations: 7.938 kB / 0.9009 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.2515, allocations: 271.7 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.2522, allocations: 0.5196 MB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/0.2531, allocations: 314.5 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.2535, allocations: 140.8 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.2535, allocations: 11.88 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.2541, allocations: 211.2 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2541, allocations: 4 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001241/0.2553, allocations: 450.5 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.2554, allocations: 59.41 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.2555, allocations: 223 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2556, allocations: 25.7 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.2556, allocations: 136.3 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.2557, allocations: 47.34 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.2557, allocations: 29.7 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.2558, allocations: 326.8 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.2562, allocations: 135.9 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.2566, allocations: 146.5 kB / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.2574, allocations: 320 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2574, allocations: 0 / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008668/0.2583, allocations: 414.7 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.2583, allocations: 145.2 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2583, allocations: 3.938 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2584, allocations: 7.984 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.2586, allocations: 55.95 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2587, allocations: 0 / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.259, allocations: 63.78 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.259, allocations: 7.938 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.259, allocations: 4 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007559/0.2598, allocations: 371.1 kB / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2598, allocations: 3.938 kB / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.2598, allocations: 3.938 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.26, allocations: 67.89 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.26, allocations: 0 / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.2603, allocations: 55.8 kB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.2603, allocations: 8 kB / 0.9053 GB, free: 58.38 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 (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.0001252/0.2604, allocations: 205.8 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.2605, allocations: 27.66 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.2605, allocations: 17.53 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2605, allocations: 3.938 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.2606, allocations: 11.98 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2606, allocations: 0 / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.2608, allocations: 269.5 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2608, allocations: 0 / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.261, allocations: 55.94 kB / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.261, allocations: 7.938 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2611, allocations: 0 / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2611, allocations: 0 / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2611, allocations: 4 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.2619, allocations: 355.3 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.262, allocations: 100.7 kB / 0.9063 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.262, allocations: 11.98 kB / 0.9063 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.2623, allocations: 47.95 kB / 0.9064 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.2624, allocations: 27.95 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2624, allocations: 4 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.996e-05/0.2625, allocations: 160.7 kB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2625, allocations: 0 / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002835/0.2628, allocations: 71.84 kB / 0.9066 GB, free: 56.93 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 (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.001085/0.2639, allocations: 0.901 MB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.2652, allocations: 0.6601 MB / 0.9081 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2652, allocations: 0 / 0.9081 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.2656, allocations: 163.8 kB / 0.9083 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.266, allocations: 47.81 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.2697, allocations: 2.611 MB / 0.9109 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.2699, allocations: 0.7248 MB / 0.9116 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.27, allocations: 21.55 kB / 0.9116 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2701, allocations: 63.41 kB / 0.9117 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2701, allocations: 0 / 0.9117 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.2853, allocations: 4.494 MB / 0.9161 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.2855, allocations: 251.5 kB / 0.9163 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.318, allocations: 10.98 kB / 0.9163 GB, free: 47.02 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)