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.554/1.554, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 176.5 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009972/0.0009975, allocations: 92.77 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.055e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.202, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7153/0.9174, allocations: 134.6 MB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.9177, allocations: 85.81 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01089/0.9286, allocations: 3.674 MB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9286, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.9287, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.6511 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.001057/0.9297, allocations: 0.5902 MB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.9298, allocations: 12.02 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.9299, allocations: 23.75 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.9302, allocations: 263 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.9302, allocations: 8 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.9303, allocations: 8 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002114/0.9305, allocations: 110.1 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.9308, allocations: 158.8 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.9308, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.9308, allocations: 3.938 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.9308, allocations: 4 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.9316, allocations: 0.524 MB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.9319, allocations: 140.7 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.932, allocations: 63.91 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.9321, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.9323, allocations: 126 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.9323, allocations: 3.938 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003224/0.9327, allocations: 152 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.9327, allocations: 110.8 kB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.9329, allocations: 173.7 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.9329, allocations: 25.7 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.933, allocations: 135.1 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.9331, allocations: 51.05 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.9331, allocations: 0 / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9332, allocations: 330.4 kB / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.9333, allocations: 51.12 kB / 1.023 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.9334, allocations: 79.12 kB / 1.023 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.943e-05/0.9335, allocations: 46.72 kB / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9335, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002871/0.9338, allocations: 176.4 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.22e-05/0.9339, allocations: 161.6 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.9339, allocations: 0 / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.934, allocations: 0 / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.9343, allocations: 71.62 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.9343, allocations: 4 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.9346, allocations: 63.88 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.9347, allocations: 11.92 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.9347, allocations: 4 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002427/0.9349, allocations: 136 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.9349, allocations: 4 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.935, allocations: 4 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.9352, allocations: 51.95 kB / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.9352, allocations: 7.984 kB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.9355, allocations: 54.36 kB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.9355, allocations: 4 kB / 1.024 GB, free: 12.04 MB / 0.6511 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 () * 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.0001104/0.9356, allocations: 115.9 kB / 1.024 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002268/0.9359, allocations: 159.2 kB / 1.024 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.9359, allocations: 19.72 kB / 1.024 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.936, allocations: 17.47 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.936, allocations: 4 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.936, allocations: 3.984 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.936, allocations: 4 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.9362, allocations: 242.2 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9362, allocations: 0 / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.9366, allocations: 67.5 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9366, allocations: 7.938 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.9366, allocations: 7.984 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9366, allocations: 0 / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9366, allocations: 0 / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.9369, allocations: 178 kB / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.9369, allocations: 96.48 kB / 1.025 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.937, allocations: 4 kB / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.9373, allocations: 63.92 kB / 1.025 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.9374, allocations: 30.95 kB / 1.025 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.9374, allocations: 4 kB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001116/0.9375, allocations: 143.3 kB / 1.025 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9376, allocations: 0 / 1.025 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003355/0.9379, allocations: 75.75 kB / 1.025 GB, free: 10.88 MB / 0.6511 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) * 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.0005659/0.9385, allocations: 0.7291 MB / 1.026 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004985/0.939, allocations: 425 kB / 1.027 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.939, allocations: 0 / 1.027 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.9391, allocations: 75.67 kB / 1.027 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.9394, allocations: 32.33 kB / 1.027 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.94, allocations: 271.8 kB / 1.027 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.9403, allocations: 0.7367 MB / 1.028 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000163/0.9405, allocations: 29.84 kB / 1.028 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.9406, allocations: 60.28 kB / 1.028 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9406, allocations: 0 / 1.028 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.9638, allocations: 4.576 MB / 1.032 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.964, allocations: 191.6 kB / 1.032 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.854, allocations: 0 / 1.032 GB, free: 3.902 MB / 0.6511 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)