Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008185/0.0008184, allocations: 88.41 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.006148/0.006148, allocations: 171.4 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 9.812 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.341, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009946/0.351, allocations: 7.98 MB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.5309, allocations: 152 MB / 1.23 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/0.5343, allocations: 31.81 kB / 1.23 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007445/0.5417, allocations: 1.806 MB / 1.232 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.5461, allocations: 1.139 MB / 1.233 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.55, allocations: 1.259 MB / 1.234 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006595/0.5566, allocations: 5.398 MB / 1.24 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.5589, allocations: 1.168 MB / 1.241 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.5619, allocations: 1.303 MB / 1.242 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.5646, allocations: 1.319 MB / 1.243 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007951/0.5654, allocations: 76 kB / 1.244 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005048/0.5704, allocations: 2.212 MB / 1.246 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004106/0.5746, allocations: 4.1 MB / 1.25 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.5777, allocations: 1.427 MB / 1.251 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7322/1.31, allocations: 5.93 MB / 1.257 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/1.31, allocations: 0.8125 kB / 1.257 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.148e-06/1.31, allocations: 1.5 kB / 1.257 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003751/1.31, allocations: 0.9375 kB / 1.257 GB, free: 17.82 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.0145/1.325, allocations: 3.507 MB / 1.26 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.325, allocations: 11.16 kB / 1.26 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/1.328, allocations: 436.5 kB / 1.261 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.344, allocations: 12.29 MB / 1.273 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/1.344, allocations: 176.2 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005225/1.345, allocations: 235.9 kB / 1.273 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/1.349, allocations: 2.38 MB / 1.275 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/1.349, allocations: 5.188 kB / 1.275 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/1.349, allocations: 70.02 kB / 1.276 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/1.349, allocations: 37.28 kB / 1.276 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/1.354, allocations: 2.485 MB / 1.278 GB, free: 15.01 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.02149/1.375, allocations: 15.64 MB / 1.293 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/1.378, allocations: 1.998 MB / 1.295 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/1.38, allocations: 1.29 MB / 1.296 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/1.38, allocations: 37.48 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/1.382, allocations: 1.378 MB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.425e-06/1.382, allocations: 0 / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.006971/1.389, allocations: 3.843 MB / 1.302 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/1.389, allocations: 367.1 kB / 1.302 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02942/1.418, allocations: 20.6 MB / 1.322 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.419, allocations: 85.55 kB / 1.322 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001576/1.421, allocations: 1.166 MB / 1.323 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00057/1.422, allocations: 474 kB / 1.324 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003251/1.425, allocations: 4.517 MB / 1.328 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/1.425, allocations: 301.1 kB / 1.328 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05254/1.477, allocations: 40.35 MB / 1.368 GB, free: 11.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04368/1.521, allocations: 40.1 MB / 1.407 GB, free: 2.961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04859/1.57, allocations: 47.75 MB / 1.454 GB, free: 3.129 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.015e-05/1.57, allocations: 4 kB / 1.454 GB, free: 3.125 MB / 1.107 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1/1.67, allocations: 90.99 MB / 1.543 GB, free: 8.371 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003419/1.67, allocations: 197.6 kB / 1.543 GB, free: 8.172 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.053e-05/1.67, allocations: 16 kB / 1.543 GB, free: 8.156 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/1.671, allocations: 112.9 kB / 1.543 GB, free: 8.043 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/1.674, allocations: 0.6257 MB / 1.543 GB, free: 7.457 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.677, allocations: 1.564 MB / 1.545 GB, free: 5.773 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/1.681, allocations: 403.8 kB / 1.545 GB, free: 5.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/1.682, allocations: 155.1 kB / 1.546 GB, free: 5.234 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.004154/1.686, allocations: 2.509 MB / 1.548 GB, free: 2.762 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000753/1.687, allocations: 256.5 kB / 1.548 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006127/1.693, allocations: 3.499 MB / 1.552 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.693, allocations: 22.89 kB / 1.552 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.693, allocations: 3.938 kB / 1.552 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.693, allocations: 7.969 kB / 1.552 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/1.696, allocations: 2.082 MB / 1.554 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.696, allocations: 0 / 1.554 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009379/1.697, allocations: 212.6 kB / 1.554 GB, free: 12.66 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/1.698, allocations: 87.62 kB / 1.554 GB, free: 12.58 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.698, allocations: 39.97 kB / 1.554 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.7, allocations: 1.554 MB / 1.556 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.7, allocations: 5.844 kB / 1.556 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/1.705, allocations: 3.356 MB / 1.559 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.706, allocations: 0.6257 MB / 1.559 GB, free: 6.824 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/1.707, allocations: 28 kB / 1.559 GB, free: 6.797 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.708, allocations: 132.8 kB / 1.56 GB, free: 6.668 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/1.708, allocations: 96.06 kB / 1.56 GB, free: 6.574 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.708, allocations: 71.95 kB / 1.56 GB, free: 6.504 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01233/1.721, allocations: 12.79 MB / 1.572 GB, free: 9.711 MB / 1.232 GB Notification: Performance of sort global known variables: time 4.01e-07/1.721, allocations: 0 / 1.572 GB, free: 9.711 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.006893/1.728, allocations: 1.786 MB / 1.574 GB, free: 7.934 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.003182/1.731, allocations: 1.008 MB / 1.575 GB, free: 7.184 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.05266/1.784, allocations: 50.95 MB / 1.625 GB, free: 4.371 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.784, allocations: 4 kB / 1.625 GB, free: 4.367 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003995/1.788, allocations: 2.731 MB / 1.627 GB, free: 1.637 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.791, allocations: 455.1 kB / 1.628 GB, free: 1.199 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02951/1.82, allocations: 21.2 MB / 1.649 GB, free: 11.96 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005386/1.826, allocations: 4.634 MB / 1.653 GB, free: 7.305 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002365/1.828, allocations: 0.6565 MB / 1.654 GB, free: 6.645 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/1.829, allocations: 215.4 kB / 1.654 GB, free: 6.434 MB / 1.311 GB Notification: Performance of SimCode: time 8.82e-07/1.829, allocations: 0 / 1.654 GB, free: 6.434 MB / 1.311 GB Notification: Performance of Templates: time 0.1001/1.929, allocations: 52.14 MB / 1.705 GB, free: 2.727 MB / 1.357 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)