Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.201/2.201, allocations: 251 MB / 265.9 MB, free: 11.69 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.001619/0.001619, allocations: 179.2 kB / 325.5 MB, free: 2.898 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.37/2.37, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001187/0.001187, allocations: 98.62 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004952, allocations: 17.75 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.4745, allocations: 134 MB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.4749, allocations: 79.95 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.4931, allocations: 3.71 MB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4931, allocations: 0 / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.4932, allocations: 4 kB / 1.033 GB, free: 7.484 MB / 0.6823 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.001877/0.4951, allocations: 0.6321 MB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4951, allocations: 11.97 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.325e-05/0.4952, allocations: 50.55 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.4953, allocations: 19.81 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.4958, allocations: 267.5 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4958, allocations: 8 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.4959, allocations: 16 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4971, allocations: 284 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4972, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.4972, allocations: 7.984 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4972, allocations: 4 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.4991, allocations: 323.7 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.5005, allocations: 0.5703 MB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.5027, allocations: 380 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.5028, allocations: 4 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.504, allocations: 243.1 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 4.438e-06/0.504, allocations: 0 / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.00302/0.507, allocations: 0.5214 MB / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.5072, allocations: 106.8 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.5075, allocations: 190.3 kB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.5076, allocations: 37.64 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5077, allocations: 128.3 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.849e-05/0.5078, allocations: 51.34 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.5078, allocations: 0 / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.508, allocations: 340.9 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000947/0.509, allocations: 159.9 kB / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.5101, allocations: 190.4 kB / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5111, allocations: 209.4 kB / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5111, allocations: 0 / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002133/0.5133, allocations: 452.5 kB / 1.038 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.5134, allocations: 152.4 kB / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5135, allocations: 4 kB / 1.039 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.5135, allocations: 0 / 1.039 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.5141, allocations: 67.88 kB / 1.039 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.5141, allocations: 4 kB / 1.039 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.5149, allocations: 75.77 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.5149, allocations: 8 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5149, allocations: 8 kB / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/0.5167, allocations: 361.9 kB / 1.039 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5167, allocations: 0 / 1.039 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.5167, allocations: 7.938 kB / 1.039 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.5172, allocations: 59.89 kB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5172, allocations: 0 / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/0.5178, allocations: 63.78 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.5179, allocations: 4 kB / 1.039 GB, free: 1.23 MB / 0.6823 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.0002701/0.5182, allocations: 213.1 kB / 1.039 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.5182, allocations: 15.81 kB / 1.039 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.5183, allocations: 25.52 kB / 1.039 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.5184, allocations: 4 kB / 1.039 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.5184, allocations: 0 / 1.039 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5184, allocations: 3.938 kB / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.5188, allocations: 293.3 kB / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5188, allocations: 0 / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.5194, allocations: 67.94 kB / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5194, allocations: 0 / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.5194, allocations: 11.98 kB / 1.04 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.5194, allocations: 0 / 1.04 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5194, allocations: 4 kB / 1.04 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.5215, allocations: 401.8 kB / 1.04 GB, free: 136 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.5216, allocations: 92.91 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.5217, allocations: 8 kB / 1.04 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.5224, allocations: 67.88 kB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.5225, allocations: 31.89 kB / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.5226, allocations: 3.984 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002335/0.5228, allocations: 155.2 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5228, allocations: 0 / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005651/0.5234, allocations: 88.03 kB / 1.041 GB, free: 15.68 MB / 0.698 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.002492/0.5259, allocations: 0.9501 MB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.529, allocations: 0.7057 MB / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.529, allocations: 0 / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.5301, allocations: 179.8 kB / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.5306, allocations: 40.58 kB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.5364, allocations: 1.531 MB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.5369, allocations: 0.7367 MB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002677/0.5372, allocations: 25.55 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.5374, allocations: 59.41 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.5374, allocations: 0 / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.5666, allocations: 4.999 MB / 1.05 GB, free: 6.527 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/0.567, allocations: 224.8 kB / 1.05 GB, free: 6.277 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.043, allocations: 3.438 kB / 1.05 GB, free: 6.277 MB / 0.698 GB