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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009755/0.0009754, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.934/1.934, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.0005207, allocations: 11.41 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2784, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002334/0.2808, allocations: 1.669 MB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2819, allocations: 0.6481 MB / 0.7897 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.282, allocations: 4 kB / 0.7897 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.282, allocations: 11.86 kB / 0.7897 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.2822, allocations: 39.62 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.2828, allocations: 111.8 kB / 0.7898 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000408/0.2832, allocations: 243.2 kB / 0.7901 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2834, allocations: 63.45 kB / 0.7901 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.2836, allocations: 91.66 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.2838, allocations: 103.5 kB / 0.7903 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.2839, allocations: 8 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.032e-05/0.2839, allocations: 12 kB / 0.7903 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.284, allocations: 35.83 kB / 0.7904 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.2841, allocations: 61.58 kB / 0.7904 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.2844, allocations: 183.7 kB / 0.7906 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2844, allocations: 4 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2844, allocations: 0 / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2844, allocations: 0 / 0.7906 GB, free: 8.555 MB / 0.6075 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.001411/0.2858, allocations: 0.6228 MB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.2859, allocations: 15.97 kB / 0.7912 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.393e-05/0.286, allocations: 42.56 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.2861, allocations: 31.7 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.2867, allocations: 267.5 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.2867, allocations: 8 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.2868, allocations: 19.98 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.2878, allocations: 264 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2878, allocations: 0 / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.2879, allocations: 8 kB / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2879, allocations: 4 kB / 0.7918 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.2891, allocations: 267.8 kB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2903, allocations: 0.5195 MB / 0.7926 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.2917, allocations: 318.5 kB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.2923, allocations: 140.7 kB / 0.793 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.2924, allocations: 8 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008174/0.2932, allocations: 214 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 4.899e-06/0.2932, allocations: 0 / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001916/0.2952, allocations: 465 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.2952, allocations: 55.41 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.2956, allocations: 219.1 kB / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2956, allocations: 25.7 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2957, allocations: 136.3 kB / 0.7941 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.2958, allocations: 39.44 kB / 0.7942 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.2958, allocations: 8 kB / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.296, allocations: 334.8 kB / 0.7945 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.2967, allocations: 139.8 kB / 0.7946 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.2972, allocations: 135.9 kB / 0.7947 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.2979, allocations: 185.9 kB / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2979, allocations: 0 / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001428/0.2993, allocations: 412.6 kB / 0.7953 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.2995, allocations: 145.2 kB / 0.7955 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2995, allocations: 4 kB / 0.7955 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.2995, allocations: 3.984 kB / 0.7955 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.3, allocations: 59.95 kB / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3, allocations: 0 / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.3004, allocations: 55.78 kB / 0.7956 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.3004, allocations: 12 kB / 0.7956 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3005, allocations: 4 kB / 0.7956 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/0.3019, allocations: 367.1 kB / 0.7959 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3019, allocations: 7.922 kB / 0.7959 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/0.3019, allocations: 0 / 0.7959 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.3022, allocations: 59.95 kB / 0.796 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3023, allocations: 4 kB / 0.796 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.3026, allocations: 55.84 kB / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3027, allocations: 4 kB / 0.7961 GB, free: 2.648 MB / 0.6075 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.0002715/0.303, allocations: 222.8 kB / 0.7963 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.303, allocations: 23.72 kB / 0.7963 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.541e-05/0.3031, allocations: 17.53 kB / 0.7963 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3031, allocations: 0 / 0.7963 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.3031, allocations: 3.984 kB / 0.7963 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3031, allocations: 0 / 0.7963 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.3035, allocations: 273.5 kB / 0.7966 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3035, allocations: 0 / 0.7966 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.3039, allocations: 59.88 kB / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3039, allocations: 4 kB / 0.7966 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.304, allocations: 4 kB / 0.7966 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.304, allocations: 0 / 0.7966 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.304, allocations: 0 / 0.7966 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.3053, allocations: 367.9 kB / 0.797 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.3054, allocations: 96.83 kB / 0.7971 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.3055, allocations: 4 kB / 0.7971 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.3059, allocations: 51.94 kB / 0.7971 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.306, allocations: 27.95 kB / 0.7972 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3061, allocations: 7.984 kB / 0.7972 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002191/0.3063, allocations: 160.6 kB / 0.7973 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3063, allocations: 0 / 0.7973 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006221/0.3069, allocations: 71.84 kB / 0.7974 GB, free: 1.195 MB / 0.6075 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.001782/0.3087, allocations: 0.8932 MB / 0.7983 GB, free: 276 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.3108, allocations: 0.6614 MB / 0.7989 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3109, allocations: 0 / 0.7989 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.3115, allocations: 159.7 kB / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.312, allocations: 36.58 kB / 0.7991 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.3166, allocations: 1.445 MB / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.317, allocations: 0.725 MB / 0.8012 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.3173, allocations: 25.53 kB / 0.8012 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.3175, allocations: 59.41 kB / 0.8013 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of SimCode: time 1.783e-06/0.3175, allocations: 4 kB / 0.8013 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.3398, allocations: 4.643 MB / 0.8058 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/0.3402, allocations: 238.9 kB / 0.8061 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.575, allocations: 0 / 0.8061 GB, free: 8.359 MB / 0.6231 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) Environment - environmentSimulation: