Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001047/0.001047, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0014/0.0014, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 251.9 MB / 0.51 GB, free: 4.875 MB / 414.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.0006083/0.0006084, allocations: 12 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6011, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01432/0.6155, allocations: 10.95 MB / 0.7387 GB, free: 456 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2034/0.819, allocations: 135.6 MB / 0.8711 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/0.8227, allocations: 55.69 kB / 0.8712 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.007181/0.8299, allocations: 1.825 MB / 0.873 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008057/0.838, allocations: 1.535 MB / 0.8745 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007561/0.8455, allocations: 1.706 MB / 0.8761 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009117/0.8547, allocations: 3.769 MB / 0.8798 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.8573, allocations: 1.378 MB / 0.8812 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.8614, allocations: 1.697 MB / 0.8828 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.8647, allocations: 1.517 MB / 0.8843 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005934/0.8653, allocations: 112 kB / 0.8844 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00543/0.8707, allocations: 2.138 MB / 0.8865 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004176/0.8749, allocations: 4.744 MB / 0.8911 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002485/0.8774, allocations: 1.446 MB / 0.8925 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.8968, allocations: 16.55 MB / 0.9087 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8969, allocations: 0 / 0.9087 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8969, allocations: 0 / 0.9087 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005023/0.8974, allocations: 4 kB / 0.9087 GB, free: 1.867 MB / 0.7169 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.5627/1.46, allocations: 12.51 MB / 0.9209 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/1.46, allocations: 15.22 kB / 0.9209 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02498/1.485, allocations: 3.043 MB / 0.9239 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.372/3.857, allocations: 0.957 GB / 1.881 GB, free: 25.31 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/3.857, allocations: 216.2 kB / 1.881 GB, free: 25.09 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/3.858, allocations: 292 kB / 1.881 GB, free: 24.81 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007674/3.866, allocations: 3.447 MB / 1.885 GB, free: 21.23 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/3.866, allocations: 4 kB / 1.885 GB, free: 21.23 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/3.866, allocations: 88 kB / 1.885 GB, free: 21.14 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/3.866, allocations: 53.55 kB / 1.885 GB, free: 21.09 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006197/3.873, allocations: 3.331 MB / 1.888 GB, free: 17.74 MB / 0.8888 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.7551/4.628, allocations: 249.3 MB / 2.132 GB, free: 148.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006697/4.635, allocations: 2.832 MB / 2.134 GB, free: 145.9 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/4.635, allocations: 427.2 kB / 2.135 GB, free: 145.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004174/4.639, allocations: 1.982 MB / 2.137 GB, free: 143.4 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=173): time 3.968e-06/4.639, allocations: 0 / 2.137 GB, free: 143.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173): time 0.02687/4.666, allocations: 7.829 MB / 2.144 GB, free: 136.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000235/4.666, allocations: 421.7 kB / 2.145 GB, free: 135.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.466/8.132, allocations: 1.183 GB / 3.328 GB, free: 322.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008541/8.133, allocations: 90.83 kB / 3.328 GB, free: 322.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00552/8.139, allocations: 4.287 MB / 3.332 GB, free: 319.4 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/8.139, allocations: 0.569 MB / 3.333 GB, free: 319.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/8.14, allocations: 62.97 kB / 3.333 GB, free: 319.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001662/8.14, allocations: 456.9 kB / 3.333 GB, free: 318.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006918/8.147, allocations: 2.924 MB / 3.336 GB, free: 318 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007861/8.155, allocations: 4.004 MB / 3.34 GB, free: 315.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00811/8.163, allocations: 3.319 MB / 3.343 GB, free: 314.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.574e-05/8.163, allocations: 8.406 kB / 3.343 GB, free: 314.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02565/8.189, allocations: 8.926 MB / 3.352 GB, free: 307.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.00327/8.192, allocations: 18.77 MB / 3.37 GB, free: 287.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03455/8.226, allocations: 7.814 MB / 3.378 GB, free: 279.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04157/8.268, allocations: 5.459 MB / 3.383 GB, free: 274.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/8.273, allocations: 0.8497 MB / 3.384 GB, free: 273.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007187/8.28, allocations: 6.379 MB / 3.39 GB, free: 266.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/8.291, allocations: 1.414 MB / 3.392 GB, free: 265 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009695/8.292, allocations: 187.9 kB / 3.392 GB, free: 264.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/8.292, allocations: 7.953 kB / 3.392 GB, free: 264.8 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01678/8.309, allocations: 8.129 MB / 3.4 GB, free: 256.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01324/8.322, allocations: 6.148 MB / 3.406 GB, free: 250.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/8.324, allocations: 0.5341 MB / 3.407 GB, free: 249.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004881/8.329, allocations: 0.8892 MB / 3.407 GB, free: 249 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/8.336, allocations: 8.487 MB / 3.416 GB, free: 240 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/8.349, allocations: 1.323 MB / 3.417 GB, free: 238.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/8.35, allocations: 192.8 kB / 3.417 GB, free: 238.5 MB / 0.9044 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.007517/8.358, allocations: 4.149 MB / 3.421 GB, free: 234.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004515/8.363, allocations: 0.8403 MB / 3.422 GB, free: 233.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/8.379, allocations: 6.47 MB / 3.428 GB, free: 227 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/8.379, allocations: 16 kB / 3.428 GB, free: 227 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/8.379, allocations: 0 / 3.428 GB, free: 227 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/8.379, allocations: 11.92 kB / 3.428 GB, free: 226.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03189/8.411, allocations: 16.02 MB / 3.444 GB, free: 210.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03158/8.442, allocations: 6.104 MB / 3.45 GB, free: 204.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/8.445, allocations: 335.5 kB / 3.45 GB, free: 204.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05111/8.496, allocations: 7.824 MB / 3.458 GB, free: 196.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005212/8.496, allocations: 63.89 kB / 3.458 GB, free: 196.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006402/8.503, allocations: 6.402 MB / 3.464 GB, free: 189.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/8.503, allocations: 0 / 3.464 GB, free: 189.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/8.518, allocations: 5.521 MB / 3.47 GB, free: 184.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00873/8.527, allocations: 3.408 MB / 3.473 GB, free: 180.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004327/8.531, allocations: 43.94 kB / 3.473 GB, free: 180.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008749/8.54, allocations: 0.9102 MB / 3.474 GB, free: 179.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005791/8.54, allocations: 113.2 kB / 3.474 GB, free: 179.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003086/8.541, allocations: 93.19 kB / 3.474 GB, free: 179.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.109/10.65, allocations: 0.9482 GB / 4.422 GB, free: 232.6 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8.22e-07/10.65, allocations: 0 / 4.422 GB, free: 232.6 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.02007/10.67, allocations: 3.504 MB / 4.426 GB, free: 229.4 MB / 0.9044 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.005042/10.67, allocations: 1.028 MB / 4.427 GB, free: 228.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02585/10.7, allocations: 13.24 MB / 4.44 GB, free: 215.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/10.7, allocations: 7.281 kB / 4.44 GB, free: 215.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.006719/10.71, allocations: 3.497 MB / 4.443 GB, free: 212.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009513/10.72, allocations: 0.9551 MB / 4.444 GB, free: 211.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04094/10.76, allocations: 21.28 MB / 4.465 GB, free: 190 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/10.77, allocations: 5.323 MB / 4.47 GB, free: 184.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.01645/10.79, allocations: 4.54 MB / 4.474 GB, free: 180.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006579/10.79, allocations: 1.268 MB / 4.476 GB, free: 178.9 MB / 0.9044 GB Notification: Performance of SimCode: time 9.22e-07/10.79, allocations: 0 / 4.476 GB, free: 178.9 MB / 0.9044 GB Notification: Performance of Templates: time 0.97/11.76, allocations: 468 MB / 4.933 GB, free: 89.07 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1) Environment - environmentSimulation: