Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001188/0.001187, allocations: 183.3 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 93.44 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.936e-05/5.938e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.445, allocations: 141.5 MB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.446, allocations: 85.44 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01095/1.457, allocations: 3.693 MB / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.174e-06/1.457, allocations: 0 / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.382e-05/1.457, allocations: 4 kB / 1.122 GB, free: 40.5 MB / 0.7448 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.001118/1.458, allocations: 0.5909 MB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.458, allocations: 8.031 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.936e-05/1.458, allocations: 49.22 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/1.458, allocations: 28.77 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/1.458, allocations: 256.8 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/1.458, allocations: 14.88 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/1.459, allocations: 16.89 kB / 1.123 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/1.459, allocations: 179.9 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.459, allocations: 0 / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/1.459, allocations: 6.438 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.459, allocations: 4 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/1.459, allocations: 107.7 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/1.46, allocations: 0.5654 MB / 1.124 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/1.46, allocations: 140.9 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/1.461, allocations: 66.23 kB / 1.124 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/1.461, allocations: 4 kB / 1.124 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/1.461, allocations: 134.3 kB / 1.124 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.835e-06/1.461, allocations: 0 / 1.124 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0003675/1.461, allocations: 158.5 kB / 1.124 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/1.461, allocations: 109.4 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/1.461, allocations: 194.2 kB / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.462, allocations: 32.95 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/1.462, allocations: 134.8 kB / 1.125 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/1.462, allocations: 43.41 kB / 1.125 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/1.462, allocations: 0.75 kB / 1.125 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/1.462, allocations: 331.2 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.462, allocations: 57.31 kB / 1.125 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/1.462, allocations: 84.14 kB / 1.125 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/1.462, allocations: 107.1 kB / 1.125 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.462, allocations: 0 / 1.125 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003294/1.462, allocations: 236 kB / 1.125 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/1.463, allocations: 147.5 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.463, allocations: 2.891 kB / 1.125 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.463, allocations: 7.938 kB / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/1.463, allocations: 73.41 kB / 1.126 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.463, allocations: 0 / 1.126 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/1.463, allocations: 72.86 kB / 1.126 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/1.463, allocations: 10.8 kB / 1.126 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/1.463, allocations: 4 kB / 1.126 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002909/1.464, allocations: 202.7 kB / 1.126 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.464, allocations: 1.25 kB / 1.126 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/1.464, allocations: 7.828 kB / 1.126 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/1.464, allocations: 57.3 kB / 1.126 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/1.464, allocations: 0 / 1.126 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/1.464, allocations: 66.02 kB / 1.126 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/1.464, allocations: 6.812 kB / 1.126 GB, free: 36.94 MB / 0.7448 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 9.541e-05/1.464, allocations: 111.9 kB / 1.126 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/1.464, allocations: 16.56 kB / 1.126 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/1.465, allocations: 32.31 kB / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.465, allocations: 0 / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.465, allocations: 3.938 kB / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.465, allocations: 3.422 kB / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/1.465, allocations: 290 kB / 1.126 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.465, allocations: 0 / 1.126 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/1.465, allocations: 68.92 kB / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.465, allocations: 1.734 kB / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/1.465, allocations: 7.812 kB / 1.126 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/1.465, allocations: 0 / 1.126 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.465, allocations: 3.938 kB / 1.126 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/1.465, allocations: 185.6 kB / 1.127 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/1.466, allocations: 100.2 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/1.466, allocations: 9.375 kB / 1.127 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/1.466, allocations: 64.92 kB / 1.127 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.466, allocations: 29 kB / 1.127 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/1.466, allocations: 4 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001281/1.466, allocations: 162.2 kB / 1.127 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.466, allocations: 0 / 1.127 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003515/1.467, allocations: 83.44 kB / 1.127 GB, free: 35.96 MB / 0.7448 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.0005983/1.467, allocations: 0.7447 MB / 1.128 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004922/1.468, allocations: 431.5 kB / 1.128 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.468, allocations: 0.75 kB / 1.128 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/1.468, allocations: 74.45 kB / 1.128 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/1.468, allocations: 36.56 kB / 1.128 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/1.469, allocations: 282.9 kB / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/1.469, allocations: 0.7292 MB / 1.129 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001884/1.469, allocations: 37.38 kB / 1.129 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.469, allocations: 60.08 kB / 1.129 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.469, allocations: 0 / 1.129 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/1.489, allocations: 5.247 MB / 1.135 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.489, allocations: 183.4 kB / 1.135 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/3.67, allocations: 0 / 1.135 GB, free: 30.66 MB / 0.7448 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)