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 1.86/1.86, allocations: 287.4 MB / 302.6 MB, free: 8.355 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.001015/0.001015, allocations: 178.3 kB / 371.1 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 1.913/1.913, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.001319/0.001319, allocations: 93.55 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006195/0.0006199, allocations: 15.09 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3034, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002025/0.3055, allocations: 1.656 MB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.3064, allocations: 0.6568 MB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3065, allocations: 4 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.3066, allocations: 11.86 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3067, allocations: 39.64 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3071, allocations: 113.2 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.3074, allocations: 247.2 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3075, allocations: 60.56 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3077, allocations: 87.62 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3078, allocations: 99.56 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.3079, allocations: 12 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.3079, allocations: 15.94 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.3079, allocations: 39.83 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.308, allocations: 61.56 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3082, allocations: 183.5 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3082, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3082, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3082, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 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.001134/0.3093, allocations: 0.6308 MB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3094, allocations: 8.031 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3094, allocations: 42.73 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.3095, allocations: 24.66 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3098, allocations: 276.7 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3099, allocations: 16.36 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3099, allocations: 12.38 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.3105, allocations: 268.6 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3105, allocations: 0 / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.3106, allocations: 8 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3106, allocations: 0 / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.3114, allocations: 275.8 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.3121, allocations: 0.5235 MB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.3131, allocations: 306.5 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.3135, allocations: 154 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.3135, allocations: 7.922 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005736/0.3141, allocations: 220.5 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.3141, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001308/0.3154, allocations: 457.1 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3155, allocations: 55.41 kB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3157, allocations: 211.2 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3157, allocations: 29.7 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.3157, allocations: 136.2 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.3158, allocations: 39.45 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.3158, allocations: 4 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.3159, allocations: 326.8 kB / 0.9858 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.3163, allocations: 139.9 kB / 0.986 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.3167, allocations: 143.9 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.3175, allocations: 318 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3175, allocations: 0 / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008933/0.3184, allocations: 408.5 kB / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.3185, allocations: 156.3 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3185, allocations: 3.938 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3185, allocations: 0 / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.3188, allocations: 67.88 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3188, allocations: 4 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.3191, allocations: 55.78 kB / 0.9871 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3191, allocations: 8 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/0.3191, allocations: 8 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007883/0.3199, allocations: 359.7 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.32, allocations: 3.938 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-06/0.32, allocations: 3.984 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3202, allocations: 63.89 kB / 0.9875 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.3202, allocations: 0 / 0.9875 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.3204, allocations: 59.73 kB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3205, allocations: 4 kB / 0.9875 GB, free: 18.75 MB / 0.6198 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.0001206/0.3206, allocations: 215.9 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3206, allocations: 19.75 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.3207, allocations: 17.53 kB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3207, allocations: 4 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3207, allocations: 4 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3207, allocations: 3.984 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.3209, allocations: 273.4 kB / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3209, allocations: 0 / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.3212, allocations: 63.88 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3212, allocations: 3.938 kB / 0.9881 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3212, allocations: 8 kB / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3212, allocations: 0 / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3212, allocations: 0 / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.3221, allocations: 354.2 kB / 0.9885 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.3222, allocations: 100.9 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.3222, allocations: 0 / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3225, allocations: 55.94 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.3226, allocations: 23.95 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3226, allocations: 4 kB / 0.9886 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001109/0.3227, allocations: 160.7 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3227, allocations: 0 / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000278/0.323, allocations: 75.75 kB / 0.9889 GB, free: 17.3 MB / 0.6198 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.0011/0.3241, allocations: 0.8984 MB / 0.9897 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.3254, allocations: 0.6613 MB / 0.9904 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3254, allocations: 4 kB / 0.9904 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.3258, allocations: 157.9 kB / 0.9905 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3262, allocations: 36.64 kB / 0.9906 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.3289, allocations: 1.426 MB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.3291, allocations: 0.7287 MB / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.3293, allocations: 29.52 kB / 0.9927 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3294, allocations: 59.42 kB / 0.9928 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.3294, allocations: 0 / 0.9928 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5477/0.8771, allocations: 4.641 MB / 0.9973 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.8774, allocations: 221.5 kB / 0.9975 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.204, allocations: 0 / 0.9975 GB, free: 8.512 MB / 0.6198 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)