Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_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.001357/0.001357, allocations: 108.8 kB / 16.42 MB, free: 6.508 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.001376/0.001376, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6893, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01631/0.7056, allocations: 14.72 MB / 1.241 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.879, allocations: 163.4 MB / 1.4 GB, free: 10.73 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.8817, allocations: 67.69 kB / 1.4 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006158/0.8879, allocations: 2.434 MB / 1.403 GB, free: 8.219 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.8924, allocations: 1.669 MB / 1.404 GB, free: 6.547 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005416/0.8979, allocations: 2.215 MB / 1.407 GB, free: 4.336 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007755/0.9056, allocations: 7.241 MB / 1.414 GB, free: 13.08 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.9085, allocations: 1.917 MB / 1.415 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.9119, allocations: 2.376 MB / 1.418 GB, free: 8.707 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.9152, allocations: 2.226 MB / 1.42 GB, free: 6.473 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.9163, allocations: 436 kB / 1.42 GB, free: 6.047 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/0.9216, allocations: 2.946 MB / 1.423 GB, free: 3.098 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004136/0.9258, allocations: 4.705 MB / 1.428 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003533/0.9293, allocations: 2.414 MB / 1.43 GB, free: 11.96 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.9403, allocations: 8.37 MB / 1.438 GB, free: 3.562 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.9403, allocations: 0 / 1.438 GB, free: 3.562 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9403, allocations: 0 / 1.438 GB, free: 3.562 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001952/0.9405, allocations: 3.938 kB / 1.438 GB, free: 3.559 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 593 * Number of variables: 593 Notification: Performance of Generate backend data structure: time 0.01165/0.9522, allocations: 5.787 MB / 1.444 GB, free: 13.68 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.9522, allocations: 12.03 kB / 1.444 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/0.9688, allocations: 2.776 MB / 1.447 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/0.9958, allocations: 15.21 MB / 1.462 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.996, allocations: 224.4 kB / 1.462 GB, free: 11.36 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009002/0.9969, allocations: 303.9 kB / 1.462 GB, free: 11.07 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008525/1.005, allocations: 3.846 MB / 1.466 GB, free: 7.086 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/1.006, allocations: 4 kB / 1.466 GB, free: 7.082 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/1.006, allocations: 96 kB / 1.466 GB, free: 6.988 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/1.006, allocations: 52 kB / 1.466 GB, free: 6.938 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007588/1.013, allocations: 3.693 MB / 1.47 GB, free: 3.227 MB / 1.186 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.02765/1.041, allocations: 22.17 MB / 1.491 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006925/1.048, allocations: 3.285 MB / 1.494 GB, free: 8.957 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004274/1.052, allocations: 2.222 MB / 1.497 GB, free: 6.727 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/1.053, allocations: 421.8 kB / 1.497 GB, free: 6.242 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004744/1.058, allocations: 2.355 MB / 1.499 GB, free: 3.863 MB / 1.217 GB Notification: Performance of pre-optimization done (n=185): time 3.907e-06/1.058, allocations: 4 kB / 1.499 GB, free: 3.859 MB / 1.217 GB Notification: Performance of matching and sorting (n=185): time 0.02227/1.08, allocations: 8.373 MB / 1.508 GB, free: 11.41 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/1.08, allocations: 418.3 kB / 1.508 GB, free: 10.94 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03194/1.112, allocations: 21.55 MB / 1.529 GB, free: 5.367 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0007026/1.113, allocations: 97.7 kB / 1.529 GB, free: 5.266 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.115, allocations: 1.662 MB / 1.531 GB, free: 3.59 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008695/1.116, allocations: 0.6508 MB / 1.531 GB, free: 2.934 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005324/1.121, allocations: 5.189 MB / 1.536 GB, free: 13.72 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/1.121, allocations: 301.1 kB / 1.537 GB, free: 13.43 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6109/1.732, allocations: 40.11 MB / 1.576 GB, free: 321.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03132/1.763, allocations: 41.63 MB / 1.616 GB, free: 291.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03926/1.803, allocations: 49.83 MB / 1.665 GB, free: 244.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-05/1.803, allocations: 8 kB / 1.665 GB, free: 244.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=1918) (initialization): time 0.08171/1.884, allocations: 94.78 MB / 1.758 GB, free: 149.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/1.885, allocations: 205.5 kB / 1.758 GB, free: 149.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07996/1.965, allocations: 68.34 MB / 1.825 GB, free: 81.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04672/2.011, allocations: 5.765 MB / 1.83 GB, free: 75.29 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/2.016, allocations: 0.9048 MB / 1.831 GB, free: 74.39 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/2.022, allocations: 6.775 MB / 1.838 GB, free: 67.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005106/2.027, allocations: 0.6635 MB / 1.838 GB, free: 66.77 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/2.028, allocations: 203.7 kB / 1.839 GB, free: 66.57 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02999/2.058, allocations: 42.47 MB / 1.88 GB, free: 24.09 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03424/2.092, allocations: 41.63 MB / 1.921 GB, free: 14.15 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0526/2.145, allocations: 49.81 MB / 1.969 GB, free: 11.83 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.849e-05/2.145, allocations: 8 kB / 1.969 GB, free: 11.82 MB / 1.357 GB Notification: Performance of matching and sorting (n=1918) (initialization_lambda0): time 0.1064/2.251, allocations: 94.24 MB / 2.061 GB, free: 13.58 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/2.252, allocations: 201.5 kB / 2.062 GB, free: 13.38 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07597/2.328, allocations: 65.88 MB / 2.126 GB, free: 11.17 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/2.329, allocations: 0.5243 MB / 2.126 GB, free: 10.64 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004986/2.334, allocations: 0.9674 MB / 2.127 GB, free: 9.672 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009413/2.344, allocations: 9.019 MB / 2.136 GB, free: 128 kB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5664/2.91, allocations: 0.5464 MB / 2.137 GB, free: 0.5442 GB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006472/2.911, allocations: 202.7 kB / 2.137 GB, free: 0.5442 GB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 385 * 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 {(5,23), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001155/2.912, allocations: 0.5736 MB / 2.137 GB, free: 0.544 GB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006783/2.913, allocations: 379.1 kB / 2.138 GB, free: 0.544 GB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/2.928, allocations: 6.336 MB / 2.144 GB, free: 0.5435 GB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/2.928, allocations: 9.047 kB / 2.144 GB, free: 0.5435 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03454/2.962, allocations: 7.588 MB / 2.151 GB, free: 0.542 GB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/2.964, allocations: 0.8508 MB / 2.152 GB, free: 0.5417 GB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/2.965, allocations: 48.45 kB / 2.152 GB, free: 0.5417 GB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/2.967, allocations: 259 kB / 2.153 GB, free: 0.5416 GB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/2.968, allocations: 133.7 kB / 2.153 GB, free: 0.5416 GB / 1.514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01487/2.982, allocations: 6.738 MB / 2.159 GB, free: 0.5397 GB / 1.514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01243/2.995, allocations: 7.819 MB / 2.167 GB, free: 0.5374 GB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003945/2.999, allocations: 2.973 MB / 2.17 GB, free: 0.5361 GB / 1.514 GB Notification: Performance of sorting global known variables: time 0.008023/3.007, allocations: 13.45 MB / 2.183 GB, free: 0.5242 GB / 1.514 GB Notification: Performance of Backend: time 1.613e-06/3.007, allocations: 3.938 kB / 2.183 GB, free: 0.5241 GB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.07789/3.085, allocations: 104.1 MB / 2.285 GB, free: 433 MB / 1.514 GB Notification: Performance of SimCode: time 0.02177/3.107, allocations: 21.89 MB / 2.306 GB, free: 411.2 MB / 1.514 GB Notification: Performance of Templates: time 0.3227/3.429, allocations: 142.1 MB / 2.445 GB, free: 269.3 MB / 1.514 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)