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.0009815/0.0009816, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006343/0.006343, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.82/1.82, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0007935/0.0007936, allocations: 15.97 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2962, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002094/0.2984, allocations: 1.719 MB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2994, allocations: 0.679 MB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.2995, allocations: 0 / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.2995, allocations: 11.86 kB / 0.7904 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.2997, allocations: 43.64 kB / 0.7904 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.3001, allocations: 147.1 kB / 0.7905 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.3004, allocations: 267.2 kB / 0.7908 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.3005, allocations: 60.56 kB / 0.7908 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3006, allocations: 83.69 kB / 0.7909 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3008, allocations: 107.4 kB / 0.791 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3008, allocations: 12 kB / 0.791 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.703e-05/0.3009, allocations: 8 kB / 0.791 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.3009, allocations: 35.84 kB / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.301, allocations: 117.1 kB / 0.7912 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.3012, allocations: 251 kB / 0.7914 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3013, allocations: 4 kB / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3013, allocations: 0 / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3013, allocations: 0 / 0.7914 GB, free: 7.938 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.001218/0.3025, allocations: 0.623 MB / 0.792 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3025, allocations: 8.031 kB / 0.7921 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.3026, allocations: 50.73 kB / 0.7921 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.3027, allocations: 28.66 kB / 0.7921 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.3031, allocations: 280.6 kB / 0.7924 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3031, allocations: 4.375 kB / 0.7924 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.3031, allocations: 16.38 kB / 0.7924 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.3038, allocations: 272.1 kB / 0.7927 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3038, allocations: 0 / 0.7927 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.3039, allocations: 4 kB / 0.7927 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3039, allocations: 7.984 kB / 0.7927 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/0.3048, allocations: 271.8 kB / 0.7929 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.3055, allocations: 0.5119 MB / 0.7934 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.3066, allocations: 310.5 kB / 0.7937 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.3071, allocations: 148.7 kB / 0.7939 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3072, allocations: 7.938 kB / 0.7939 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006318/0.3078, allocations: 215.1 kB / 0.7941 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.3078, allocations: 0 / 0.7941 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001509/0.3093, allocations: 467.2 kB / 0.7945 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3094, allocations: 51.41 kB / 0.7946 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3096, allocations: 219.1 kB / 0.7948 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.3096, allocations: 33.7 kB / 0.7948 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.3097, allocations: 136.2 kB / 0.795 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.3098, allocations: 47.44 kB / 0.795 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.3098, allocations: 17.72 kB / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3099, allocations: 330.8 kB / 0.7953 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.3104, allocations: 139.9 kB / 0.7955 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.3109, allocations: 135.9 kB / 0.7956 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.3118, allocations: 330.5 kB / 0.7959 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3118, allocations: 0 / 0.7959 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00107/0.3129, allocations: 419.1 kB / 0.7963 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.313, allocations: 149.2 kB / 0.7965 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.313, allocations: 4 kB / 0.7965 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.313, allocations: 0 / 0.7965 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.3133, allocations: 55.94 kB / 0.7965 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3133, allocations: 3.984 kB / 0.7965 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.3137, allocations: 67.78 kB / 0.7966 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.3137, allocations: 8 kB / 0.7966 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.3137, allocations: 4 kB / 0.7966 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009325/0.3147, allocations: 365 kB / 0.7969 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3147, allocations: 3.938 kB / 0.7969 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.3147, allocations: 8 kB / 0.797 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.3149, allocations: 55.94 kB / 0.797 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/0.3149, allocations: 0 / 0.797 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.3152, allocations: 59.8 kB / 0.7971 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3152, allocations: 4 kB / 0.7971 GB, free: 1.848 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 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.3154, allocations: 209.1 kB / 0.7973 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.3154, allocations: 23.73 kB / 0.7973 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.3155, allocations: 21.53 kB / 0.7973 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3155, allocations: 4 kB / 0.7973 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3155, allocations: 0 / 0.7973 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3155, allocations: 3.984 kB / 0.7973 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3157, allocations: 273.4 kB / 0.7976 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3158, allocations: 0 / 0.7976 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.316, allocations: 59.94 kB / 0.7976 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.316, allocations: 7.875 kB / 0.7976 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3161, allocations: 12 kB / 0.7977 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3161, allocations: 0 / 0.7977 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3161, allocations: 0 / 0.7977 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.3171, allocations: 360.6 kB / 0.798 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.3171, allocations: 96.8 kB / 0.7981 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.3172, allocations: 4 kB / 0.7981 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.3175, allocations: 51.94 kB / 0.7981 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.3176, allocations: 27.97 kB / 0.7982 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3176, allocations: 11.97 kB / 0.7982 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001361/0.3177, allocations: 156.6 kB / 0.7983 GB, free: 472 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3178, allocations: 0 / 0.7983 GB, free: 472 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003275/0.3181, allocations: 79.75 kB / 0.7984 GB, free: 392 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.3194, allocations: 0.9028 MB / 0.7993 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.321, allocations: 0.6613 MB / 0.7999 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.321, allocations: 0 / 0.7999 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.3215, allocations: 155.8 kB / 0.8001 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.3218, allocations: 36.66 kB / 0.8001 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.3263, allocations: 2.622 MB / 0.8027 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3266, allocations: 0.7287 MB / 0.8034 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.3267, allocations: 21.55 kB / 0.8034 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3269, allocations: 59.41 kB / 0.8035 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.3269, allocations: 0 / 0.8035 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.3413, allocations: 4.493 MB / 0.8079 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.3415, allocations: 239.2 kB / 0.8081 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.273, allocations: 0 / 0.8081 GB, free: 6.465 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/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)