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.723/1.723, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001386/0.001386, allocations: 184.5 kB / 372 MB, free: 10.27 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.868/1.868, allocations: 205.4 MB / 0.6307 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.0007834/0.0007834, allocations: 92.89 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006807/0.0006809, allocations: 11.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2688, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.001967/0.2709, allocations: 1.662 MB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.2718, allocations: 0.6595 MB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2719, allocations: 4 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.2719, allocations: 11.86 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.2721, allocations: 31.72 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2725, allocations: 121.6 kB / 0.9821 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2727, allocations: 247.2 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2728, allocations: 52.47 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.2729, allocations: 83.67 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2731, allocations: 103.5 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.2731, allocations: 8 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.2731, allocations: 12 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.2732, allocations: 39.81 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.2732, allocations: 53.64 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.2734, allocations: 183.8 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2734, allocations: 0 / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2734, allocations: 11.88 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2734, allocations: 0 / 0.9828 GB, free: 24.28 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.001113/0.2745, allocations: 0.6307 MB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2746, allocations: 12.02 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.2746, allocations: 46.55 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.2747, allocations: 23.72 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.2751, allocations: 275.5 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2751, allocations: 8 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.2751, allocations: 16 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.2758, allocations: 264.5 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2758, allocations: 0 / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.2758, allocations: 15.92 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2758, allocations: 4 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/0.2767, allocations: 275.7 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.2774, allocations: 0.5195 MB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/0.2784, allocations: 318.5 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.2788, allocations: 140.8 kB / 0.9853 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.2789, allocations: 4 kB / 0.9853 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.2794, allocations: 211.2 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2794, allocations: 0 / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001357/0.2808, allocations: 453 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2808, allocations: 59.41 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.281, allocations: 219.1 kB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.281, allocations: 25.7 kB / 0.9862 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.2811, allocations: 140.3 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.2811, allocations: 35.45 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.2812, allocations: 4 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.2812, allocations: 338.8 kB / 0.9867 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.2817, allocations: 135.8 kB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.2821, allocations: 141.3 kB / 0.987 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.2825, allocations: 188.2 kB / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2825, allocations: 0 / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000918/0.2834, allocations: 402.4 kB / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/0.2835, allocations: 149.1 kB / 0.9877 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2835, allocations: 3.984 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2835, allocations: 7.938 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.2838, allocations: 63.94 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2838, allocations: 0 / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.2841, allocations: 55.8 kB / 0.9878 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.2842, allocations: 19.92 kB / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.2842, allocations: 4 kB / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008335/0.285, allocations: 359.1 kB / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.285, allocations: 0 / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.285, allocations: 7.938 kB / 0.9882 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2853, allocations: 59.89 kB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-06/0.2853, allocations: 0 / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.2855, allocations: 59.84 kB / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2856, allocations: 4 kB / 0.9883 GB, free: 18.36 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.0001195/0.2857, allocations: 214.6 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.2857, allocations: 19.72 kB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.2858, allocations: 25.52 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2858, allocations: 0 / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2858, allocations: 7.938 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2858, allocations: 0 / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.286, allocations: 273.5 kB / 0.9888 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.286, allocations: 0 / 0.9888 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.2863, allocations: 55.94 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2863, allocations: 4 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.2863, allocations: 8 kB / 0.9889 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2863, allocations: 3.984 kB / 0.9889 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2863, allocations: 0 / 0.9889 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.2872, allocations: 354.3 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.2872, allocations: 104.8 kB / 0.9893 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.2873, allocations: 7.938 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.2876, allocations: 51.94 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.2876, allocations: 27.95 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2877, allocations: 8 kB / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000104/0.2878, allocations: 156.7 kB / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2878, allocations: 0 / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002816/0.2881, allocations: 67.84 kB / 0.9896 GB, free: 16.91 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.001105/0.2892, allocations: 0.9017 MB / 0.9905 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2905, allocations: 0.6522 MB / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2905, allocations: 4 kB / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.291, allocations: 159.8 kB / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.2913, allocations: 44.53 kB / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.294, allocations: 1.432 MB / 0.9927 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.2942, allocations: 0.7328 MB / 0.9935 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.2943, allocations: 21.55 kB / 0.9935 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2945, allocations: 59.41 kB / 0.9935 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2945, allocations: 0 / 0.9935 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.3113, allocations: 4.652 MB / 0.9981 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.3115, allocations: 238.2 kB / 0.9983 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.311, allocations: 6.922 kB / 0.9983 GB, free: 8.098 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)