Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000808/0.000808, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005924/0.005924, allocations: 170 kB / 16.26 MB, free: 6.613 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 473.4 MB / 0.7469 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 10.88 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3927, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009749/0.4024, allocations: 7.976 MB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1946/0.5971, allocations: 152 MB / 1.23 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.5994, allocations: 31.75 kB / 1.23 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005975/0.6054, allocations: 1.802 MB / 1.232 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.61, allocations: 1.147 MB / 1.233 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.6139, allocations: 1.263 MB / 1.235 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007231/0.6211, allocations: 5.398 MB / 1.24 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.6233, allocations: 1.16 MB / 1.241 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.6263, allocations: 1.307 MB / 1.242 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.629, allocations: 1.319 MB / 1.243 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000446/0.6294, allocations: 68 kB / 1.244 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/0.6342, allocations: 2.212 MB / 1.246 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004048/0.6382, allocations: 4.104 MB / 1.25 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002761/0.641, allocations: 1.427 MB / 1.251 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6596/1.301, allocations: 5.934 MB / 1.257 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.301, allocations: 1.031 kB / 1.257 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.815e-06/1.301, allocations: 0.5312 kB / 1.257 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001397/1.301, allocations: 2.062 kB / 1.257 GB, free: 17.91 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.008832/1.31, allocations: 3.501 MB / 1.26 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.31, allocations: 12.72 kB / 1.26 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/1.312, allocations: 437.8 kB / 1.261 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.326, allocations: 12.3 MB / 1.273 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/1.326, allocations: 174.5 kB / 1.273 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005223/1.327, allocations: 236.7 kB / 1.273 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004248/1.331, allocations: 2.386 MB / 1.275 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/1.331, allocations: 1.062 kB / 1.275 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/1.331, allocations: 69.98 kB / 1.276 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/1.332, allocations: 38.03 kB / 1.276 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/1.336, allocations: 2.484 MB / 1.278 GB, free: 15.09 MB / 0.9981 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.02479/1.361, allocations: 15.64 MB / 1.293 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/1.364, allocations: 1.994 MB / 1.295 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.365, allocations: 1.291 MB / 1.296 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/1.366, allocations: 37.33 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/1.367, allocations: 1.369 MB / 1.298 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.715e-06/1.367, allocations: 0 / 1.298 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.006685/1.374, allocations: 3.849 MB / 1.302 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/1.374, allocations: 363.1 kB / 1.302 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03188/1.406, allocations: 20.6 MB / 1.322 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.407, allocations: 85.98 kB / 1.322 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.409, allocations: 1.167 MB / 1.323 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007524/1.41, allocations: 477.4 kB / 1.324 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003709/1.413, allocations: 4.514 MB / 1.328 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/1.414, allocations: 301.1 kB / 1.328 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05375/1.467, allocations: 40.34 MB / 1.368 GB, free: 11.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0398/1.507, allocations: 40.09 MB / 1.407 GB, free: 2.918 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05198/1.559, allocations: 47.75 MB / 1.454 GB, free: 3.039 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.335e-05/1.559, allocations: 5.969 kB / 1.454 GB, free: 3.035 MB / 1.107 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1012/1.661, allocations: 90.99 MB / 1.542 GB, free: 8.309 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003279/1.661, allocations: 201.6 kB / 1.543 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/1.661, allocations: 16 kB / 1.543 GB, free: 8.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/1.662, allocations: 116.9 kB / 1.543 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/1.665, allocations: 0.6257 MB / 1.543 GB, free: 7.387 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/1.667, allocations: 1.573 MB / 1.545 GB, free: 5.703 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/1.672, allocations: 397.8 kB / 1.545 GB, free: 5.316 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007672/1.672, allocations: 152 kB / 1.545 GB, free: 5.172 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004241/1.677, allocations: 2.508 MB / 1.548 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000805/1.677, allocations: 264.4 kB / 1.548 GB, free: 2.438 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006175/1.684, allocations: 3.5 MB / 1.552 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.684, allocations: 12 kB / 1.552 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/1.684, allocations: 3.938 kB / 1.552 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/1.684, allocations: 11.17 kB / 1.552 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/1.688, allocations: 2.09 MB / 1.554 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.688, allocations: 0 / 1.554 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/1.689, allocations: 204.7 kB / 1.554 GB, free: 12.6 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/1.689, allocations: 88.77 kB / 1.554 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.69, allocations: 39.97 kB / 1.554 GB, free: 12.47 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/1.691, allocations: 1.556 MB / 1.556 GB, free: 10.79 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.691, allocations: 0 / 1.556 GB, free: 10.79 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/1.697, allocations: 3.35 MB / 1.559 GB, free: 7.414 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.698, allocations: 0.6335 MB / 1.559 GB, free: 6.758 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.699, allocations: 29.75 kB / 1.559 GB, free: 6.73 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/1.7, allocations: 129.6 kB / 1.56 GB, free: 6.605 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.7, allocations: 97.31 kB / 1.56 GB, free: 6.508 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.7, allocations: 63.97 kB / 1.56 GB, free: 6.445 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01247/1.713, allocations: 12.8 MB / 1.572 GB, free: 9.645 MB / 1.232 GB Notification: Performance of sort global known variables: time 3e-07/1.713, allocations: 0 / 1.572 GB, free: 9.645 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.007147/1.72, allocations: 1.786 MB / 1.574 GB, free: 7.867 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003471/1.723, allocations: 1.001 MB / 1.575 GB, free: 7.125 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.05074/1.774, allocations: 50.94 MB / 1.625 GB, free: 4.266 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.774, allocations: 7.938 kB / 1.625 GB, free: 4.258 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003732/1.778, allocations: 2.725 MB / 1.627 GB, free: 1.535 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.781, allocations: 465.9 kB / 1.628 GB, free: 1.086 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.814, allocations: 21.19 MB / 1.648 GB, free: 11.86 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006885/1.821, allocations: 4.637 MB / 1.653 GB, free: 7.191 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002872/1.824, allocations: 0.6449 MB / 1.654 GB, free: 6.543 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007051/1.825, allocations: 219.3 kB / 1.654 GB, free: 6.328 MB / 1.311 GB Notification: Performance of SimCode: time 2.294e-06/1.825, allocations: 0 / 1.654 GB, free: 6.328 MB / 1.311 GB Notification: Performance of Templates: time 0.1124/1.937, allocations: 52.14 MB / 1.705 GB, free: 2.602 MB / 1.357 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)