Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.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.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 108.4 kB / 16.37 MB, free: 6.309 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.00182/0.00182, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.301/1.301, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001438/0.001438, allocations: 75.89 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1887, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.3223/0.5111, allocations: 13.22 MB / 0.7977 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.6799, allocations: 162.8 MB / 0.9567 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.6826, allocations: 71.62 kB / 0.9568 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005848/0.6885, allocations: 2.369 MB / 0.9591 GB, free: 7.605 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003875/0.6924, allocations: 1.437 MB / 0.9605 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.6974, allocations: 2.13 MB / 0.9626 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007099/0.7045, allocations: 6.839 MB / 0.9693 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.7072, allocations: 1.904 MB / 0.9711 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.7109, allocations: 2.247 MB / 0.9733 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.7144, allocations: 2.109 MB / 0.9754 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007905/0.7152, allocations: 419.9 kB / 0.9758 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004984/0.7202, allocations: 2.829 MB / 0.9785 GB, free: 3.656 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003876/0.7241, allocations: 4.655 MB / 0.9831 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002976/0.7271, allocations: 2.305 MB / 0.9853 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009833/0.737, allocations: 7.996 MB / 0.9931 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.737, allocations: 0 / 0.9931 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.41e-06/0.737, allocations: 4 kB / 0.9931 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001326/0.7371, allocations: 4 kB / 0.9931 GB, free: 4.652 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.009614/0.7468, allocations: 5.415 MB / 0.9984 GB, free: 15.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.7468, allocations: 11.97 kB / 0.9984 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/0.7638, allocations: 2.75 MB / 1.001 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02783/0.7916, allocations: 15.11 MB / 1.016 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.7919, allocations: 217.9 kB / 1.016 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009871/0.7929, allocations: 288 kB / 1.016 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007873/0.8008, allocations: 3.742 MB / 1.02 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.8008, allocations: 3.938 kB / 1.02 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.8011, allocations: 95.98 kB / 1.02 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.8012, allocations: 52 kB / 1.02 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007432/0.8086, allocations: 3.603 MB / 1.024 GB, free: 5.074 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02695/0.8356, allocations: 21.46 MB / 1.045 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007072/0.8427, allocations: 3.172 MB / 1.048 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004533/0.8472, allocations: 2.174 MB / 1.05 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.8477, allocations: 425.6 kB / 1.05 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004863/0.8526, allocations: 2.257 MB / 1.052 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=173): time 4.399e-06/0.8526, allocations: 0 / 1.052 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=173): time 0.02305/0.8757, allocations: 8.098 MB / 1.06 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/0.876, allocations: 410.3 kB / 1.061 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03136/0.9073, allocations: 21.48 MB / 1.082 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007965/0.9082, allocations: 95.61 kB / 1.082 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.9102, allocations: 1.623 MB / 1.083 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009058/0.9111, allocations: 0.5892 MB / 1.084 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004936/0.9161, allocations: 5.073 MB / 1.089 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9162, allocations: 309.1 kB / 1.089 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03804/0.9543, allocations: 40.07 MB / 1.128 GB, free: 8.789 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3783/1.333, allocations: 41.57 MB / 1.169 GB, free: 289.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04297/1.376, allocations: 49.74 MB / 1.218 GB, free: 257.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.321e-05/1.376, allocations: 11.78 kB / 1.218 GB, free: 257.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=1902) (initialization): time 0.08001/1.456, allocations: 94.67 MB / 1.31 GB, free: 167.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/1.456, allocations: 208.6 kB / 1.31 GB, free: 167.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07053/1.526, allocations: 67.34 MB / 1.376 GB, free: 101.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04419/1.571, allocations: 5.773 MB / 1.382 GB, free: 95.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/1.575, allocations: 0.8777 MB / 1.382 GB, free: 94.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/1.582, allocations: 6.772 MB / 1.389 GB, free: 87.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005497/1.587, allocations: 0.6317 MB / 1.39 GB, free: 87.06 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/1.588, allocations: 199.7 kB / 1.39 GB, free: 86.87 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03092/1.619, allocations: 42.41 MB / 1.431 GB, free: 44.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03062/1.649, allocations: 41.57 MB / 1.472 GB, free: 2.562 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4055/2.055, allocations: 49.72 MB / 1.52 GB, free: 297.6 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.527e-05/2.055, allocations: 6.75 kB / 1.52 GB, free: 297.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1902) (initialization_lambda0): time 0.08275/2.138, allocations: 94.07 MB / 1.612 GB, free: 228.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002234/2.138, allocations: 207.1 kB / 1.613 GB, free: 228.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05365/2.192, allocations: 65.78 MB / 1.677 GB, free: 165.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/2.193, allocations: 0.518 MB / 1.677 GB, free: 164.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004826/2.198, allocations: 0.945 MB / 1.678 GB, free: 164.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/2.205, allocations: 9.044 MB / 1.687 GB, free: 155.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00545/2.211, allocations: 0.5365 MB / 1.688 GB, free: 154.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000582/2.212, allocations: 197.7 kB / 1.688 GB, free: 154.7 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 369 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001073/2.213, allocations: 0.5608 MB / 1.688 GB, free: 154.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006932/2.213, allocations: 351.2 kB / 1.689 GB, free: 153.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/2.226, allocations: 6.123 MB / 1.695 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/2.226, allocations: 7.969 kB / 1.695 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.009357/2.235, allocations: 4.907 MB / 1.699 GB, free: 143.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/2.237, allocations: 0.8005 MB / 1.7 GB, free: 142.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004985/2.237, allocations: 41.31 kB / 1.7 GB, free: 142.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/2.24, allocations: 248.3 kB / 1.7 GB, free: 142.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/2.24, allocations: 123 kB / 1.701 GB, free: 142.3 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01483/2.255, allocations: 6.584 MB / 1.707 GB, free: 135.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01281/2.268, allocations: 7.599 MB / 1.714 GB, free: 128.1 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003992/2.272, allocations: 2.907 MB / 1.717 GB, free: 125.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.008566/2.28, allocations: 13.39 MB / 1.73 GB, free: 111.8 MB / 0.9356 GB Notification: Performance of Backend: time 1.012e-06/2.28, allocations: 0 / 1.73 GB, free: 111.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.07199/2.352, allocations: 103.8 MB / 1.832 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of SimCode: time 0.3162/2.669, allocations: 21.38 MB / 1.853 GB, free: 303.1 MB / 0.9356 GB Notification: Performance of Templates: time 0.3269/2.996, allocations: 137.9 MB / 1.987 GB, free: 208.1 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)