Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 114.2 kB / 16.38 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00243/0.00243, allocations: 190 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.898/1.898, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 79.83 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2902, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003643/0.2939, allocations: 2.026 MB / 0.7868 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2951, allocations: 0.6867 MB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2952, allocations: 7.938 kB / 0.7875 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.999e-05/0.2953, allocations: 19.73 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.2954, allocations: 47.56 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.2959, allocations: 159.7 kB / 0.7877 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5372/0.8331, allocations: 286.5 kB / 0.7879 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.8334, allocations: 63.16 kB / 0.788 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.8337, allocations: 107.7 kB / 0.7881 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.8339, allocations: 131.1 kB / 0.7882 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.8339, allocations: 28.44 kB / 0.7883 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.159e-05/0.834, allocations: 25.81 kB / 0.7883 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.834, allocations: 53.92 kB / 0.7883 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.8342, allocations: 108 kB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.8345, allocations: 270.8 kB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8345, allocations: 3.594 kB / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8346, allocations: 0 / 0.7887 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.8346, allocations: 0 / 0.7887 GB, free: 46.52 MB / 0.6544 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.001286/0.8359, allocations: 0.6287 MB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.8359, allocations: 10.5 kB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.836, allocations: 23.75 kB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.8365, allocations: 278.7 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.8365, allocations: 9.797 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.8366, allocations: 19.39 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.8372, allocations: 233.9 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.8372, allocations: 3.938 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.8373, allocations: 11.59 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.8373, allocations: 2.625 kB / 0.7899 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.8381, allocations: 224 kB / 0.7901 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.8389, allocations: 0.5131 MB / 0.7906 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.8399, allocations: 260.1 kB / 0.7908 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.8404, allocations: 119.9 kB / 0.791 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.8404, allocations: 3.094 kB / 0.791 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.841, allocations: 195.1 kB / 0.7911 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.841, allocations: 4.5 kB / 0.7911 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001426/0.8424, allocations: 383.3 kB / 0.7915 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.8425, allocations: 56.56 kB / 0.7916 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.8427, allocations: 216.9 kB / 0.7918 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.8427, allocations: 32.27 kB / 0.7918 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.8428, allocations: 128.6 kB / 0.7919 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.8429, allocations: 49.67 kB / 0.792 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.843, allocations: 37.94 kB / 0.792 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.8431, allocations: 331 kB / 0.7923 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.8435, allocations: 120.7 kB / 0.7924 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.844, allocations: 117.6 kB / 0.7926 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.8448, allocations: 276.3 kB / 0.7928 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8448, allocations: 0 / 0.7928 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001008/0.8459, allocations: 367.3 kB / 0.7932 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.8459, allocations: 63.94 kB / 0.7932 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8459, allocations: 0 / 0.7932 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.846, allocations: 0.7031 kB / 0.7932 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.8463, allocations: 56.64 kB / 0.7933 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8463, allocations: 0 / 0.7933 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.8466, allocations: 40.86 kB / 0.7933 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.8466, allocations: 9.188 kB / 0.7933 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004291/0.847, allocations: 201.2 kB / 0.7935 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003564/0.8474, allocations: 108.4 kB / 0.7936 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007005/0.8481, allocations: 253.9 kB / 0.7939 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.8481, allocations: 0 / 0.7939 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008466/0.849, allocations: 349.4 kB / 0.7942 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.849, allocations: 65.58 kB / 0.7943 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.849, allocations: 0 / 0.7943 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.849, allocations: 3.938 kB / 0.7943 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.8493, allocations: 43.47 kB / 0.7943 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.8493, allocations: 0 / 0.7943 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.8495, allocations: 44.55 kB / 0.7944 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.8496, allocations: 3.438 kB / 0.7944 GB, free: 44.08 MB / 0.6544 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 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.8497, allocations: 191.7 kB / 0.7945 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.8497, allocations: 29.91 kB / 0.7946 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.8498, allocations: 23.64 kB / 0.7946 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8498, allocations: 0 / 0.7946 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.8498, allocations: 7.406 kB / 0.7946 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8498, allocations: 3.047 kB / 0.7946 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.8501, allocations: 272.5 kB / 0.7949 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8501, allocations: 0.6562 kB / 0.7949 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.8503, allocations: 44.25 kB / 0.7949 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.8504, allocations: 8.141 kB / 0.7949 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.8504, allocations: 3.125 kB / 0.7949 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8504, allocations: 1.406 kB / 0.7949 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8504, allocations: 0 / 0.7949 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.8513, allocations: 307.7 kB / 0.7952 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.8514, allocations: 105.3 kB / 0.7953 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.8514, allocations: 7.797 kB / 0.7953 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.8517, allocations: 33.48 kB / 0.7953 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8518, allocations: 26.36 kB / 0.7954 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.8518, allocations: 7.25 kB / 0.7954 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001447/0.852, allocations: 165.9 kB / 0.7955 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.852, allocations: 4 kB / 0.7955 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003207/0.8523, allocations: 70.91 kB / 0.7956 GB, free: 43.4 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.8524, allocations: 106.8 kB / 0.7957 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.8539, allocations: 0.5824 MB / 0.7963 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8539, allocations: 0 / 0.7963 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.8544, allocations: 132.8 kB / 0.7964 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.8548, allocations: 43.25 kB / 0.7964 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/0.8556, allocations: 383.1 kB / 0.7968 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.8558, allocations: 0.7269 MB / 0.7975 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.856, allocations: 30.03 kB / 0.7976 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.856, allocations: 1.688 kB / 0.7976 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.006152/0.8621, allocations: 2.805 MB / 0.8003 GB, free: 41.98 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)