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.685/1.685, allocations: 288.4 MB / 303.6 MB, free: 8.145 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.001353/0.001353, allocations: 182 kB / 372.3 MB, free: 10.11 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.789/1.789, allocations: 205.4 MB / 0.631 GB, free: 9.844 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.0009696/0.0009694, allocations: 90.78 kB / 0.7444 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004963, allocations: 10.91 kB / 0.8676 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2634, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002096/0.2656, allocations: 1.665 MB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2667, allocations: 0.6518 MB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.267, allocations: 7.938 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.288e-05/0.267, allocations: 11.86 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.2673, allocations: 35.7 kB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.2677, allocations: 116.9 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.2681, allocations: 251.2 kB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2682, allocations: 64.55 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2684, allocations: 79.69 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.2686, allocations: 103.6 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.2686, allocations: 11.94 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.2687, allocations: 12 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.2687, allocations: 35.83 kB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2689, allocations: 117.3 kB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.2691, allocations: 195.4 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2691, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2691, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.2691, allocations: 0 / 0.9835 GB, free: 23.86 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.001199/0.2703, allocations: 0.623 MB / 0.9841 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2704, allocations: 8.031 kB / 0.9841 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.926e-05/0.2704, allocations: 42.73 kB / 0.9841 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.2705, allocations: 24.66 kB / 0.9841 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.2709, allocations: 284.6 kB / 0.9844 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.271, allocations: 8.375 kB / 0.9844 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.271, allocations: 20.38 kB / 0.9844 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.2717, allocations: 260.7 kB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2717, allocations: 7.938 kB / 0.9847 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2717, allocations: 11.92 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2717, allocations: 4 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.2726, allocations: 275.8 kB / 0.985 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007476/0.2733, allocations: 0.508 MB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.2743, allocations: 314.5 kB / 0.9858 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/0.2748, allocations: 140.8 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2748, allocations: 7.938 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.2754, allocations: 215.1 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/0.2754, allocations: 0 / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001376/0.2768, allocations: 457 kB / 0.9865 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2768, allocations: 59.41 kB / 0.9866 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.277, allocations: 215.2 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2771, allocations: 25.7 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.2772, allocations: 140.2 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.2772, allocations: 35.45 kB / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.2772, allocations: 4 kB / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.2773, allocations: 334.8 kB / 0.9873 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.2778, allocations: 131.9 kB / 0.9875 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.2782, allocations: 147.8 kB / 0.9876 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.279, allocations: 315.3 kB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2791, allocations: 0 / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009824/0.2801, allocations: 412.4 kB / 0.9883 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.2802, allocations: 157.1 kB / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2802, allocations: 0 / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.2802, allocations: 4 kB / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.2805, allocations: 59.94 kB / 0.9885 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2805, allocations: 4 kB / 0.9885 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.2809, allocations: 51.8 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2809, allocations: 11.98 kB / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2809, allocations: 4 kB / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008565/0.2818, allocations: 369.9 kB / 0.9889 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2818, allocations: 11.88 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.2818, allocations: 4 kB / 0.9889 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.282, allocations: 51.95 kB / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.2821, allocations: 0 / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.2823, allocations: 59.8 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.2824, allocations: 7.984 kB / 0.989 GB, free: 17.82 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.0001759/0.2825, allocations: 213 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.2826, allocations: 23.75 kB / 0.9893 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.2827, allocations: 25.52 kB / 0.9893 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2827, allocations: 3.984 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2827, allocations: 0 / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2827, allocations: 0 / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.283, allocations: 273.4 kB / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.283, allocations: 0 / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.2833, allocations: 59.94 kB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.2833, allocations: 3.938 kB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2833, allocations: 8 kB / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2833, allocations: 0 / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2833, allocations: 0 / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/0.2843, allocations: 362.4 kB / 0.99 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.2843, allocations: 100.8 kB / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.2844, allocations: 0 / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2847, allocations: 51.95 kB / 0.9901 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2848, allocations: 27.95 kB / 0.9901 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.2848, allocations: 3.984 kB / 0.9902 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001303/0.285, allocations: 160.7 kB / 0.9903 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.285, allocations: 0 / 0.9903 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003334/0.2853, allocations: 71.75 kB / 0.9904 GB, free: 16.37 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.001241/0.2866, allocations: 0.9009 MB / 0.9913 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.288, allocations: 0.6618 MB / 0.9919 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.288, allocations: 0 / 0.9919 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.2885, allocations: 160.5 kB / 0.9921 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.2889, allocations: 28.66 kB / 0.9921 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.2918, allocations: 1.429 MB / 0.9935 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.292, allocations: 0.7365 MB / 0.9942 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.2921, allocations: 21.55 kB / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.2923, allocations: 59.41 kB / 0.9943 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2923, allocations: 0 / 0.9943 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.3093, allocations: 4.679 MB / 0.9988 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.3095, allocations: 229 kB / 0.9991 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.295, allocations: 0 / 0.9991 GB, free: 7.547 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)