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 2.78/2.78, allocations: 287.3 MB / 302.3 MB, free: 8.199 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.001537/0.001537, allocations: 186.9 kB / 370.8 MB, free: 10.86 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.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001191/0.00119, allocations: 94.92 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004902, allocations: 10.7 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2305, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002408/0.2329, allocations: 1.642 MB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2343, allocations: 0.6482 MB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2344, allocations: 4 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.2345, allocations: 11.86 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.2347, allocations: 35.86 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.2352, allocations: 117.1 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.2355, allocations: 163.7 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2357, allocations: 56.45 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2358, allocations: 87.67 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.236, allocations: 99.56 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.236, allocations: 16 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.104e-05/0.2361, allocations: 8 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.2362, allocations: 31.84 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.2362, allocations: 53.64 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.2365, allocations: 199.7 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2365, allocations: 4 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2365, allocations: 0 / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2365, allocations: 0 / 0.9814 GB, free: 25.11 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.001713/0.2382, allocations: 0.619 MB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2383, allocations: 8.031 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.2384, allocations: 46.55 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.2384, allocations: 27.67 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.239, allocations: 271.6 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.239, allocations: 15.92 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.2391, allocations: 15.94 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2401, allocations: 260.6 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2402, allocations: 7.922 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.2402, allocations: 4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2402, allocations: 4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.2418, allocations: 271.8 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009961/0.2428, allocations: 0.5274 MB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.2446, allocations: 310.5 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.2447, allocations: 11.98 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009844/0.2457, allocations: 207.2 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.146e-06/0.2457, allocations: 0 / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002535/0.2482, allocations: 455.2 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.2483, allocations: 63.39 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.2486, allocations: 219.1 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.2486, allocations: 29.7 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.2487, allocations: 128.3 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.2488, allocations: 43.44 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.2488, allocations: 4 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.2489, allocations: 334.8 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.2497, allocations: 147.8 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.2505, allocations: 131.9 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/0.2513, allocations: 185.5 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2513, allocations: 4 kB / 0.9856 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001756/0.2531, allocations: 400.6 kB / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.2532, allocations: 159 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.2532, allocations: 3.984 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.2532, allocations: 0 / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.2537, allocations: 55.94 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2537, allocations: 4 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.2543, allocations: 63.78 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.2544, allocations: 4 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2544, allocations: 7.938 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.2559, allocations: 363.1 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2559, allocations: 7.938 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.269e-06/0.2559, allocations: 0 / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.2564, allocations: 59.94 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2564, allocations: 0 / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.2569, allocations: 51.86 kB / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2569, allocations: 8 kB / 0.9867 GB, free: 19.35 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.0001809/0.2571, allocations: 220.7 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.2572, allocations: 31.64 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.2572, allocations: 17.53 kB / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2573, allocations: 4 kB / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2573, allocations: 0 / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2573, allocations: 0 / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.2576, allocations: 277.4 kB / 0.9872 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2576, allocations: 4 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.2581, allocations: 55.95 kB / 0.9873 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2581, allocations: 0 / 0.9873 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.2581, allocations: 11.98 kB / 0.9873 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2581, allocations: 0 / 0.9873 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2581, allocations: 0 / 0.9873 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.2598, allocations: 361.2 kB / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.2599, allocations: 96.83 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.2599, allocations: 4 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.2604, allocations: 55.94 kB / 0.9878 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.2606, allocations: 23.95 kB / 0.9878 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.2606, allocations: 7.984 kB / 0.9878 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001649/0.2608, allocations: 156.7 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2608, allocations: 0 / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004689/0.2613, allocations: 75.84 kB / 0.988 GB, free: 17.89 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.001876/0.2632, allocations: 0.8948 MB / 0.9889 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.2657, allocations: 0.6535 MB / 0.9896 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2658, allocations: 0 / 0.9896 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008339/0.2666, allocations: 163.8 kB / 0.9897 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.267, allocations: 40.52 kB / 0.9897 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.2717, allocations: 1.425 MB / 0.9911 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2719, allocations: 0.7328 MB / 0.9919 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.2722, allocations: 25.53 kB / 0.9919 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.2724, allocations: 55.42 kB / 0.9919 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.603e-06/0.2724, allocations: 0 / 0.9919 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.3029, allocations: 4.633 MB / 0.9965 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/0.3033, allocations: 220.7 kB / 0.9967 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/2.847, allocations: 0 / 0.9967 GB, free: 9.105 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)