Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.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: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.3 MB / 303.2 MB, free: 8.172 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.001918/0.001918, allocations: 189.8 kB / 371.8 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.672/1.672, allocations: 205.4 MB / 0.6306 GB, free: 9.969 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.001653/0.001653, allocations: 100.5 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 11.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2817, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01009/0.2919, allocations: 10.93 MB / 0.9901 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.776/1.068, allocations: 135.6 MB / 1.123 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/1.072, allocations: 58.56 kB / 1.123 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007659/1.079, allocations: 1.823 MB / 1.124 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007655/1.087, allocations: 1.533 MB / 1.126 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006672/1.094, allocations: 1.715 MB / 1.128 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007039/1.101, allocations: 3.759 MB / 1.131 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/1.103, allocations: 1.383 MB / 1.133 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/1.107, allocations: 1.709 MB / 1.134 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004436/1.111, allocations: 1.582 MB / 1.136 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009708/1.112, allocations: 109.3 kB / 1.136 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/1.119, allocations: 2.169 MB / 1.138 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006673/1.126, allocations: 4.738 MB / 1.143 GB, free: 13.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005327/1.132, allocations: 1.447 MB / 1.144 GB, free: 13.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02368/1.155, allocations: 16.56 MB / 1.16 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.155, allocations: 2.844 kB / 1.16 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.766e-06/1.155, allocations: 0 / 1.16 GB, free: 5.773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006783/1.156, allocations: 0 / 1.16 GB, free: 5.773 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.04837/1.204, allocations: 12.52 MB / 1.172 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.204, allocations: 12.66 kB / 1.172 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02329/1.228, allocations: 3.036 MB / 1.175 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.783/3.011, allocations: 0.957 GB / 2.132 GB, free: 53.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/3.011, allocations: 216.2 kB / 2.133 GB, free: 53.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009762/3.012, allocations: 296 kB / 2.133 GB, free: 53.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007362/3.02, allocations: 3.448 MB / 2.136 GB, free: 49.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.228e-05/3.02, allocations: 7.922 kB / 2.136 GB, free: 49.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/3.02, allocations: 92 kB / 2.136 GB, free: 49.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/3.02, allocations: 53.89 kB / 2.136 GB, free: 49.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006423/3.027, allocations: 3.322 MB / 2.14 GB, free: 45.95 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.7616/3.788, allocations: 249.3 MB / 2.383 GB, free: 185.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008862/3.797, allocations: 2.829 MB / 2.386 GB, free: 182.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/3.798, allocations: 433.9 kB / 2.386 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004828/3.803, allocations: 1.981 MB / 2.388 GB, free: 180.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=173): time 5.41e-06/3.803, allocations: 0 / 2.388 GB, free: 180.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=173): time 0.02859/3.831, allocations: 7.834 MB / 2.396 GB, free: 173 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002333/3.832, allocations: 418.2 kB / 2.396 GB, free: 172.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.352/7.184, allocations: 1.183 GB / 3.58 GB, free: 88.55 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001051/7.185, allocations: 93.7 kB / 3.58 GB, free: 88.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.008656/7.194, allocations: 4.288 MB / 3.584 GB, free: 84.46 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/7.195, allocations: 0.5735 MB / 3.584 GB, free: 84.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008213/7.195, allocations: 64 kB / 3.585 GB, free: 83.96 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004565/7.196, allocations: 453 kB / 3.585 GB, free: 83.51 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008135/7.204, allocations: 2.922 MB / 3.588 GB, free: 80.61 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009167/7.213, allocations: 4.015 MB / 3.592 GB, free: 76.19 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008626/7.222, allocations: 3.313 MB / 3.595 GB, free: 72.92 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.861e-05/7.222, allocations: 12 kB / 3.595 GB, free: 72.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02879/7.251, allocations: 8.914 MB / 3.604 GB, free: 63.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004406/7.255, allocations: 18.77 MB / 3.622 GB, free: 43.63 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03696/7.292, allocations: 7.817 MB / 3.63 GB, free: 35.78 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04414/7.336, allocations: 5.448 MB / 3.635 GB, free: 30.35 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004953/7.341, allocations: 0.8424 MB / 3.636 GB, free: 29.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/7.349, allocations: 6.398 MB / 3.642 GB, free: 22.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/7.36, allocations: 1.408 MB / 3.643 GB, free: 21.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/7.362, allocations: 185.5 kB / 3.644 GB, free: 21.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/7.362, allocations: 8 kB / 3.644 GB, free: 21.08 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01969/7.381, allocations: 8.133 MB / 3.652 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01407/7.396, allocations: 6.143 MB / 3.658 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/7.397, allocations: 0.537 MB / 3.658 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005052/7.402, allocations: 0.8931 MB / 3.659 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009137/7.412, allocations: 8.492 MB / 3.667 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/7.424, allocations: 1.323 MB / 3.669 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/7.425, allocations: 179.9 kB / 3.669 GB, free: 10.73 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.01087/7.436, allocations: 4.154 MB / 3.673 GB, free: 6.562 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005632/7.442, allocations: 0.8403 MB / 3.674 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4483/7.89, allocations: 6.473 MB / 3.68 GB, free: 359.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/7.89, allocations: 15.94 kB / 3.68 GB, free: 359.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/7.89, allocations: 2.875 kB / 3.68 GB, free: 359.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.113e-05/7.89, allocations: 9.562 kB / 3.68 GB, free: 359.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04194/7.932, allocations: 16.01 MB / 3.696 GB, free: 355.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03354/7.966, allocations: 6.113 MB / 3.702 GB, free: 353.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/7.968, allocations: 337.7 kB / 3.702 GB, free: 353.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05205/8.02, allocations: 7.821 MB / 3.709 GB, free: 352.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005298/8.021, allocations: 65.91 kB / 3.71 GB, free: 352.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/8.027, allocations: 6.387 MB / 3.716 GB, free: 346.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/8.027, allocations: 3.984 kB / 3.716 GB, free: 346.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/8.043, allocations: 5.53 MB / 3.721 GB, free: 344.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0101/8.053, allocations: 3.411 MB / 3.725 GB, free: 341.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004589/8.058, allocations: 32.19 kB / 3.725 GB, free: 341.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008618/8.067, allocations: 0.9107 MB / 3.725 GB, free: 341.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005163/8.067, allocations: 116.1 kB / 3.726 GB, free: 341.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/8.067, allocations: 84.58 kB / 3.726 GB, free: 341.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 1.539/9.607, allocations: 0.9482 GB / 4.674 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.41e-07/9.607, allocations: 7.438 kB / 4.674 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0178/9.625, allocations: 3.5 MB / 4.677 GB, free: 107.6 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.003476/9.628, allocations: 1.031 MB / 4.678 GB, free: 107 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02356/9.652, allocations: 13.25 MB / 4.691 GB, free: 93.78 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/9.652, allocations: 0 / 4.691 GB, free: 93.78 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005621/9.657, allocations: 3.495 MB / 4.695 GB, free: 90.28 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/9.664, allocations: 0.9656 MB / 4.696 GB, free: 89.34 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/9.701, allocations: 21.26 MB / 4.716 GB, free: 68.28 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008508/9.709, allocations: 5.321 MB / 4.722 GB, free: 62.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01383/9.723, allocations: 4.543 MB / 4.726 GB, free: 58.38 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006641/9.73, allocations: 1.272 MB / 4.727 GB, free: 57.11 MB / 0.9792 GB Notification: Performance of SimCode: time 7.52e-07/9.73, allocations: 0 / 4.727 GB, free: 57.11 MB / 0.9792 GB Notification: Performance of Templates: time 1.381/11.11, allocations: 468 MB / 5.184 GB, free: 334 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)