Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001372/0.001371, allocations: 193 kB / 371.8 MB, free: 10.25 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.196/2.196, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009947/0.0009949, allocations: 94.92 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 14.41 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3109, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003103/0.3141, allocations: 1.634 MB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3158, allocations: 0.6479 MB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.3161, allocations: 7.938 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.21e-05/0.3162, allocations: 15.84 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3166, allocations: 47.84 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.3172, allocations: 117.8 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.3177, allocations: 155.7 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.3179, allocations: 56.45 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.3182, allocations: 87.67 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.3184, allocations: 103.6 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.3185, allocations: 12 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.3185, allocations: 8 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.3186, allocations: 35.83 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.3187, allocations: 53.64 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.3189, allocations: 191.8 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.319, allocations: 3.938 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.564e-06/0.319, allocations: 0 / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.319, allocations: 0 / 0.9826 GB, free: 24.4 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.001737/0.3208, allocations: 0.6344 MB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.805e-05/0.3208, allocations: 12.02 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.321, allocations: 46.55 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.3211, allocations: 23.72 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.3216, allocations: 275.5 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3216, allocations: 12 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.3217, allocations: 12 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.3224, allocations: 264.5 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3224, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.3224, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3224, allocations: 8 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.3233, allocations: 275.7 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.3241, allocations: 0.5235 MB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3252, allocations: 314.5 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.3252, allocations: 0 / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000647/0.3259, allocations: 222 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3259, allocations: 0 / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001409/0.3273, allocations: 449.1 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3274, allocations: 67.34 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.3276, allocations: 211.1 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3277, allocations: 37.69 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.3277, allocations: 124.3 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3278, allocations: 39.45 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.3278, allocations: 8 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.3279, allocations: 334.8 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.3283, allocations: 135.8 kB / 0.9864 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.3288, allocations: 140.4 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.3292, allocations: 188.7 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3292, allocations: 0 / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000944/0.3302, allocations: 402.9 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.3303, allocations: 157.1 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3303, allocations: 0 / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3304, allocations: 3.938 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.3306, allocations: 59.88 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3306, allocations: 0 / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.331, allocations: 63.78 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.331, allocations: 11.94 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.331, allocations: 4 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008084/0.3318, allocations: 369 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.3318, allocations: 4 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.01e-06/0.3318, allocations: 0 / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.3321, allocations: 55.89 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3321, allocations: 7.984 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.3324, allocations: 51.86 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3324, allocations: 8 kB / 0.9879 GB, free: 18.64 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.0001451/0.3325, allocations: 209 kB / 0.9881 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.3326, allocations: 23.72 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.3326, allocations: 29.5 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3327, allocations: 0 / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3327, allocations: 0 / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3327, allocations: 0 / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.3329, allocations: 277.5 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.333, allocations: 0 / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3332, allocations: 59.88 kB / 0.9885 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3332, allocations: 4 kB / 0.9885 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.3332, allocations: 7.984 kB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3333, allocations: 0 / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3333, allocations: 0 / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.3341, allocations: 358.9 kB / 0.9888 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.3342, allocations: 96.81 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.3342, allocations: 8 kB / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.3345, allocations: 47.94 kB / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3346, allocations: 35.89 kB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3346, allocations: 4 kB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001246/0.3348, allocations: 152.7 kB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3348, allocations: 0 / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003278/0.3351, allocations: 79.83 kB / 0.9892 GB, free: 17.18 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.001143/0.3363, allocations: 0.8932 MB / 0.9901 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.3376, allocations: 0.6626 MB / 0.9907 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3377, allocations: 0 / 0.9907 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.3381, allocations: 155.8 kB / 0.9909 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3384, allocations: 48.31 kB / 0.9909 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.3414, allocations: 1.422 MB / 0.9923 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3417, allocations: 0.7367 MB / 0.993 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.3419, allocations: 21.55 kB / 0.9931 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.342, allocations: 59.41 kB / 0.9931 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.342, allocations: 0 / 0.9931 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3663, allocations: 4.635 MB / 0.9976 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/0.3667, allocations: 230.3 kB / 0.9979 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.361, allocations: 0 / 0.9979 GB, free: 8.395 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)