Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.751/2.751, allocations: 287.3 MB / 302.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002348/0.002348, allocations: 172 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 98.34 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.0005138, allocations: 12.38 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2534, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9914/1.245, allocations: 140.3 MB / 1.115 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.245, allocations: 85.97 kB / 1.115 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01839/1.264, allocations: 3.704 MB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/1.264, allocations: 0 / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.684e-05/1.264, allocations: 3.906 kB / 1.119 GB, free: 31.2 MB / 0.698 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.001887/1.266, allocations: 0.6321 MB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.266, allocations: 7.688 kB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/1.266, allocations: 44.77 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/1.266, allocations: 23.22 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/1.266, allocations: 271.1 kB / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/1.266, allocations: 11.47 kB / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/1.267, allocations: 15.34 kB / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.268, allocations: 287.8 kB / 1.12 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.268, allocations: 0 / 1.12 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/1.268, allocations: 7.125 kB / 1.12 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/1.268, allocations: 7.812 kB / 1.12 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.27, allocations: 321.7 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/1.271, allocations: 0.5673 MB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/1.273, allocations: 389.3 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/1.273, allocations: 4 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.275, allocations: 242.6 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.697e-06/1.275, allocations: 0 / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.002892/1.277, allocations: 0.5127 MB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.706e-05/1.278, allocations: 109.7 kB / 1.122 GB, free: 29.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/1.278, allocations: 190.2 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/1.278, allocations: 32.92 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.278, allocations: 131.7 kB / 1.123 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/1.278, allocations: 44.78 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/1.278, allocations: 2.875 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.278, allocations: 338 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000893/1.279, allocations: 154.9 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/1.28, allocations: 207.9 kB / 1.123 GB, free: 29.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009119/1.281, allocations: 203.3 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.281, allocations: 0 / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002034/1.283, allocations: 459.7 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/1.283, allocations: 151.6 kB / 1.124 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.283, allocations: 2.906 kB / 1.124 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.283, allocations: 3.812 kB / 1.124 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/1.284, allocations: 74.78 kB / 1.124 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.284, allocations: 0 / 1.124 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/1.285, allocations: 70.84 kB / 1.124 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/1.285, allocations: 7.812 kB / 1.124 GB, free: 28.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.285, allocations: 6.375 kB / 1.124 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001598/1.286, allocations: 367.9 kB / 1.125 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.286, allocations: 0 / 1.125 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/1.286, allocations: 0 / 1.125 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/1.287, allocations: 61.06 kB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.287, allocations: 0 / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/1.288, allocations: 60.67 kB / 1.125 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/1.288, allocations: 6.844 kB / 1.125 GB, free: 28.69 MB / 0.698 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.000283/1.288, allocations: 213.5 kB / 1.125 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/1.288, allocations: 19.38 kB / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/1.288, allocations: 22.86 kB / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.288, allocations: 0 / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/1.288, allocations: 0 / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.288, allocations: 3.844 kB / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/1.288, allocations: 287.9 kB / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.288, allocations: 3.938 kB / 1.125 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/1.289, allocations: 73.53 kB / 1.125 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/1.289, allocations: 0 / 1.125 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/1.289, allocations: 7.344 kB / 1.125 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.289, allocations: 4 kB / 1.125 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.289, allocations: 0 / 1.125 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/1.291, allocations: 405.8 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/1.291, allocations: 92.64 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/1.291, allocations: 13.89 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/1.292, allocations: 61.8 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.292, allocations: 30.08 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.292, allocations: 6.844 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002076/1.292, allocations: 154.7 kB / 1.126 GB, free: 27.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.292, allocations: 0 / 1.126 GB, free: 27.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005106/1.293, allocations: 84.53 kB / 1.126 GB, free: 27.98 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.002289/1.295, allocations: 0.9417 MB / 1.127 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00287/1.298, allocations: 0.7083 MB / 1.128 GB, free: 27.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.298, allocations: 3.875 kB / 1.128 GB, free: 27.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/1.299, allocations: 175.7 kB / 1.128 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/1.3, allocations: 35.11 kB / 1.128 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/1.305, allocations: 1.546 MB / 1.13 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/1.305, allocations: 0.7349 MB / 1.13 GB, free: 25.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000264/1.306, allocations: 27.8 kB / 1.13 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/1.306, allocations: 61.34 kB / 1.13 GB, free: 25.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.306, allocations: 0 / 1.13 GB, free: 25.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/1.334, allocations: 5.002 MB / 1.135 GB, free: 24.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/1.334, allocations: 219.7 kB / 1.135 GB, free: 24.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.917, allocations: 0 / 1.135 GB, free: 24.55 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)