Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.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: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.687/2.687, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001518/0.001518, allocations: 186.7 kB / 370.8 MB, free: 10.82 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.255/2.255, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001151/0.001151, allocations: 89.84 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005311/0.000531, allocations: 10.08 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2039, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01545/0.2194, allocations: 10.93 MB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9721/1.192, allocations: 135.6 MB / 1.121 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/1.195, allocations: 52.75 kB / 1.121 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008041/1.203, allocations: 1.826 MB / 1.123 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006553/1.21, allocations: 1.536 MB / 1.125 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007897/1.217, allocations: 1.711 MB / 1.126 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008729/1.226, allocations: 3.759 MB / 1.13 GB, free: 296 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/1.229, allocations: 1.384 MB / 1.131 GB, free: 44 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/1.235, allocations: 1.722 MB / 1.133 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004422/1.239, allocations: 1.515 MB / 1.135 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00141/1.24, allocations: 110.1 kB / 1.135 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007704/1.248, allocations: 2.134 MB / 1.137 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.007447/1.256, allocations: 4.747 MB / 1.141 GB, free: 13.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004631/1.26, allocations: 1.445 MB / 1.143 GB, free: 13.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02695/1.287, allocations: 16.55 MB / 1.159 GB, free: 5.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.287, allocations: 0 / 1.159 GB, free: 5.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/1.287, allocations: 0 / 1.159 GB, free: 5.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005319/1.288, allocations: 2.875 kB / 1.159 GB, free: 5.641 MB / 0.698 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.05522/1.343, allocations: 12.52 MB / 1.171 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.343, allocations: 9.969 kB / 1.171 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03622/1.38, allocations: 3.04 MB / 1.174 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.544/3.924, allocations: 0.957 GB / 2.131 GB, free: 55.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/3.924, allocations: 212.2 kB / 2.131 GB, free: 55.58 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/3.926, allocations: 295.9 kB / 2.132 GB, free: 55.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/3.939, allocations: 3.44 MB / 2.135 GB, free: 51.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-05/3.939, allocations: 4 kB / 2.135 GB, free: 51.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004383/3.939, allocations: 96 kB / 2.135 GB, free: 51.62 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/3.939, allocations: 55.27 kB / 2.135 GB, free: 51.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/3.952, allocations: 3.322 MB / 2.138 GB, free: 48.23 MB / 0.9636 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.9303/4.883, allocations: 249.3 MB / 2.382 GB, free: 188.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/4.895, allocations: 2.818 MB / 2.385 GB, free: 185.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007637/4.896, allocations: 436.3 kB / 2.385 GB, free: 185.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008566/4.905, allocations: 1.977 MB / 2.387 GB, free: 183.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=173): time 7.374e-06/4.905, allocations: 2.203 kB / 2.387 GB, free: 183.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=173): time 0.04566/4.951, allocations: 7.834 MB / 2.395 GB, free: 176 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003/4.951, allocations: 418.3 kB / 2.395 GB, free: 175.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.303/9.253, allocations: 1.183 GB / 3.578 GB, free: 93.14 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/9.255, allocations: 89.7 kB / 3.578 GB, free: 93.05 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.009149/9.264, allocations: 4.286 MB / 3.583 GB, free: 89.06 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/9.265, allocations: 0.5712 MB / 3.583 GB, free: 88.62 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/9.265, allocations: 68 kB / 3.583 GB, free: 88.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003777/9.266, allocations: 463 kB / 3.584 GB, free: 88.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01419/9.28, allocations: 2.918 MB / 3.586 GB, free: 85.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01506/9.295, allocations: 4.012 MB / 3.59 GB, free: 80.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/9.31, allocations: 3.309 MB / 3.594 GB, free: 77.53 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-05/9.31, allocations: 8 kB / 3.594 GB, free: 77.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.04436/9.355, allocations: 8.918 MB / 3.602 GB, free: 68.56 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004161/9.359, allocations: 18.77 MB / 3.621 GB, free: 48.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07503/9.434, allocations: 7.834 MB / 3.628 GB, free: 40.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1042/9.538, allocations: 5.461 MB / 3.634 GB, free: 34.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008688/9.547, allocations: 0.8424 MB / 3.634 GB, free: 34.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/9.559, allocations: 6.391 MB / 3.641 GB, free: 27.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01646/9.575, allocations: 1.417 MB / 3.642 GB, free: 25.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/9.576, allocations: 183.9 kB / 3.642 GB, free: 25.65 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/9.576, allocations: 4 kB / 3.642 GB, free: 25.64 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04028/9.617, allocations: 8.132 MB / 3.65 GB, free: 17.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02656/9.643, allocations: 6.14 MB / 3.656 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/9.646, allocations: 0.5431 MB / 3.657 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00977/9.656, allocations: 0.897 MB / 3.658 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/9.668, allocations: 8.489 MB / 3.666 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01677/9.685, allocations: 1.324 MB / 3.667 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/9.687, allocations: 189 kB / 3.667 GB, free: 15.29 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {5 23,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0117/9.698, allocations: 4.141 MB / 3.671 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006117/9.705, allocations: 0.8396 MB / 3.672 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03225/9.737, allocations: 6.479 MB / 3.679 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/9.737, allocations: 23.94 kB / 3.679 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/9.737, allocations: 0 / 3.679 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.724e-05/9.737, allocations: 7.969 kB / 3.679 GB, free: 3.746 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7926/10.53, allocations: 16.01 MB / 3.694 GB, free: 357.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.073/10.6, allocations: 6.13 MB / 3.7 GB, free: 356.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004284/10.61, allocations: 342.4 kB / 3.701 GB, free: 356.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1151/10.72, allocations: 7.825 MB / 3.708 GB, free: 355.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007711/10.72, allocations: 66.17 kB / 3.708 GB, free: 355.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/10.73, allocations: 6.38 MB / 3.715 GB, free: 350.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/10.73, allocations: 0 / 3.715 GB, free: 350.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.027/10.76, allocations: 5.522 MB / 3.72 GB, free: 348.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01392/10.78, allocations: 3.421 MB / 3.723 GB, free: 346.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006658/10.78, allocations: 32.62 kB / 3.723 GB, free: 346.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01434/10.8, allocations: 0.9098 MB / 3.724 GB, free: 346.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006907/10.8, allocations: 122 kB / 3.724 GB, free: 346.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004062/10.8, allocations: 87.56 kB / 3.724 GB, free: 346.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.482/13.28, allocations: 0.9482 GB / 4.673 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.81e-07/13.28, allocations: 0 / 4.673 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.034/13.31, allocations: 3.498 MB / 4.676 GB, free: 113.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {6 26,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006803/13.32, allocations: 1.03 MB / 4.677 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.05988/13.38, allocations: 13.25 MB / 4.69 GB, free: 99.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/13.38, allocations: 0 / 4.69 GB, free: 99.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01571/13.4, allocations: 3.498 MB / 4.693 GB, free: 96.02 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01411/13.41, allocations: 0.968 MB / 4.694 GB, free: 95.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06648/13.48, allocations: 21.28 MB / 4.715 GB, free: 74.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/13.49, allocations: 5.314 MB / 4.72 GB, free: 68.67 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01999/13.51, allocations: 4.543 MB / 4.725 GB, free: 64.12 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008898/13.52, allocations: 1.268 MB / 4.726 GB, free: 62.86 MB / 0.9792 GB Notification: Performance of SimCode: time 1.492e-06/13.52, allocations: 0 / 4.726 GB, free: 62.86 MB / 0.9792 GB Notification: Performance of Templates: time 2.415/15.93, allocations: 468 MB / 5.183 GB, free: 335.8 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)