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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001495/0.001495, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.002078/0.002078, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.411/2.411, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.837/4.837, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 59.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9713/0.9738, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01694/0.9907, allocations: 14.72 MB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1721/1.163, allocations: 163.4 MB / 1.382 GB, free: 10.85 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/1.166, allocations: 71.69 kB / 1.382 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006515/1.173, allocations: 2.426 MB / 1.385 GB, free: 8.344 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006528/1.179, allocations: 1.635 MB / 1.386 GB, free: 6.703 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005929/1.185, allocations: 2.217 MB / 1.389 GB, free: 4.492 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008098/1.193, allocations: 7.228 MB / 1.396 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003299/1.197, allocations: 1.904 MB / 1.397 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/1.201, allocations: 2.384 MB / 1.4 GB, free: 8.883 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/1.204, allocations: 2.234 MB / 1.402 GB, free: 6.641 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/1.205, allocations: 436 kB / 1.402 GB, free: 6.215 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/1.211, allocations: 2.934 MB / 1.405 GB, free: 3.277 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004264/1.215, allocations: 4.701 MB / 1.41 GB, free: 14.57 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.004199/1.219, allocations: 2.422 MB / 1.412 GB, free: 12.14 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01287/1.232, allocations: 8.324 MB / 1.42 GB, free: 3.789 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.232, allocations: 0 / 1.42 GB, free: 3.789 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.433e-06/1.232, allocations: 0 / 1.42 GB, free: 3.789 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002295/1.233, allocations: 0 / 1.42 GB, free: 3.789 MB / 1.139 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.01331/1.246, allocations: 5.624 MB / 1.426 GB, free: 14.07 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.246, allocations: 8.031 kB / 1.426 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/1.262, allocations: 2.757 MB / 1.429 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02743/1.29, allocations: 15.14 MB / 1.443 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/1.29, allocations: 220.4 kB / 1.444 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008724/1.291, allocations: 308 kB / 1.444 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008401/1.299, allocations: 3.854 MB / 1.448 GB, free: 7.562 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/1.299, allocations: 3.938 kB / 1.448 GB, free: 7.559 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/1.3, allocations: 96 kB / 1.448 GB, free: 7.465 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/1.3, allocations: 56 kB / 1.448 GB, free: 7.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007598/1.307, allocations: 3.69 MB / 1.451 GB, free: 3.703 MB / 1.17 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.02985/1.337, allocations: 22.13 MB / 1.473 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007722/1.345, allocations: 3.292 MB / 1.476 GB, free: 9.465 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004708/1.35, allocations: 2.218 MB / 1.478 GB, free: 7.242 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/1.35, allocations: 429.8 kB / 1.479 GB, free: 6.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005398/1.356, allocations: 2.351 MB / 1.481 GB, free: 4.371 MB / 1.201 GB Notification: Performance of pre-optimization done (n=185): time 5.42e-06/1.356, allocations: 0 / 1.481 GB, free: 4.371 MB / 1.201 GB Notification: Performance of matching and sorting (n=185): time 0.02395/1.38, allocations: 8.344 MB / 1.489 GB, free: 11.95 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002764/1.38, allocations: 418.3 kB / 1.49 GB, free: 11.48 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03232/1.412, allocations: 21.56 MB / 1.511 GB, free: 5.895 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0008297/1.413, allocations: 89.7 kB / 1.511 GB, free: 5.801 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/1.416, allocations: 1.635 MB / 1.512 GB, free: 4.148 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008923/1.416, allocations: 0.624 MB / 1.513 GB, free: 3.516 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005506/1.422, allocations: 5.093 MB / 1.518 GB, free: 14.39 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.776e-05/1.422, allocations: 305.2 kB / 1.518 GB, free: 14.09 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03905/1.461, allocations: 40.11 MB / 1.557 GB, free: 5.957 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6969/2.158, allocations: 41.62 MB / 1.598 GB, free: 322.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04276/2.201, allocations: 49.83 MB / 1.647 GB, free: 275.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-05/2.201, allocations: 8 kB / 1.647 GB, free: 275 MB / 1.279 GB Notification: Performance of matching and sorting (n=1918) (initialization): time 0.08612/2.287, allocations: 94.73 MB / 1.739 GB, free: 181.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002593/2.287, allocations: 205.6 kB / 1.739 GB, free: 181.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1223/2.41, allocations: 68.35 MB / 1.806 GB, free: 112.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05591/2.466, allocations: 5.76 MB / 1.812 GB, free: 107.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005984/2.472, allocations: 0.9046 MB / 1.813 GB, free: 106.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008955/2.481, allocations: 6.768 MB / 1.819 GB, free: 99.02 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/2.488, allocations: 0.6549 MB / 1.82 GB, free: 98.46 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008297/2.489, allocations: 204 kB / 1.82 GB, free: 98.27 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03159/2.52, allocations: 42.47 MB / 1.862 GB, free: 55.79 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03377/2.554, allocations: 41.62 MB / 1.902 GB, free: 13.85 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05211/2.606, allocations: 49.82 MB / 1.951 GB, free: 11.57 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.781e-05/2.606, allocations: 8 kB / 1.951 GB, free: 11.56 MB / 1.326 GB Notification: Performance of matching and sorting (n=1918) (initialization_lambda0): time 0.1082/2.714, allocations: 94.2 MB / 2.043 GB, free: 12.96 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002635/2.715, allocations: 197.6 kB / 2.043 GB, free: 12.76 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07722/2.792, allocations: 65.88 MB / 2.107 GB, free: 10.55 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/2.794, allocations: 0.5259 MB / 2.108 GB, free: 10.02 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/2.799, allocations: 0.9711 MB / 2.109 GB, free: 9.043 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009109/2.808, allocations: 8.997 MB / 2.118 GB, free: 15.51 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00552/2.813, allocations: 0.5482 MB / 2.118 GB, free: 15 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007766/2.814, allocations: 207.6 kB / 2.118 GB, free: 14.8 MB / 1.498 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.001567/2.816, allocations: 0.5676 MB / 2.119 GB, free: 14.23 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/2.817, allocations: 363.1 kB / 2.119 GB, free: 13.87 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/2.831, allocations: 6.324 MB / 2.125 GB, free: 7.516 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/2.832, allocations: 11.97 kB / 2.125 GB, free: 7.504 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.6387/3.47, allocations: 7.585 MB / 2.133 GB, free: 0.5472 GB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/3.473, allocations: 0.8364 MB / 2.134 GB, free: 0.5471 GB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005514/3.473, allocations: 39.92 kB / 2.134 GB, free: 0.5471 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/3.476, allocations: 257 kB / 2.134 GB, free: 0.5471 GB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/3.476, allocations: 136 kB / 2.134 GB, free: 0.5471 GB / 1.498 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01777/3.494, allocations: 6.731 MB / 2.141 GB, free: 0.546 GB / 1.498 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01429/3.509, allocations: 7.8 MB / 2.148 GB, free: 0.5436 GB / 1.498 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004157/3.513, allocations: 2.976 MB / 2.151 GB, free: 0.5424 GB / 1.498 GB Notification: Performance of sorting global known variables: time 0.009878/3.523, allocations: 13.45 MB / 2.164 GB, free: 0.5367 GB / 1.498 GB Notification: Performance of Backend: time 8.52e-07/3.523, allocations: 0 / 2.164 GB, free: 0.5367 GB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.07948/3.602, allocations: 104 MB / 2.266 GB, free: 448 MB / 1.498 GB Notification: Performance of SimCode: time 0.0234/3.626, allocations: 21.57 MB / 2.287 GB, free: 426.7 MB / 1.498 GB Notification: Performance of Templates: time 0.3274/3.953, allocations: 144.2 MB / 2.428 GB, free: 282.8 MB / 1.498 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)