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.001162/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001596/0.001596, allocations: 191.7 kB / 16.14 MB, free: 6.688 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 63.88 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3604, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01188/0.3723, allocations: 8.473 MB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1989/0.5712, allocations: 157.4 MB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/0.5739, allocations: 39.75 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008735/0.5826, allocations: 1.822 MB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.5879, allocations: 1.143 MB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.5923, allocations: 1.253 MB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007016/0.5993, allocations: 5.406 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.6017, allocations: 1.195 MB / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.605, allocations: 1.46 MB / 1.242 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.6079, allocations: 1.514 MB / 1.243 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009713/0.6089, allocations: 136 kB / 1.243 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.6141, allocations: 2.282 MB / 1.245 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.68/1.294, allocations: 4.196 MB / 1.249 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/1.297, allocations: 1.541 MB / 1.251 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00937/1.306, allocations: 6.08 MB / 1.257 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.306, allocations: 0 / 1.257 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/1.306, allocations: 1.062 kB / 1.257 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002021/1.307, allocations: 1.344 kB / 1.257 GB, free: 14.02 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.009888/1.317, allocations: 4.177 MB / 1.261 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.317, allocations: 9.281 kB / 1.261 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/1.318, allocations: 425.6 kB / 1.261 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.334, allocations: 12.3 MB / 1.273 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/1.335, allocations: 175.5 kB / 1.274 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009692/1.336, allocations: 238.5 kB / 1.274 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/1.341, allocations: 2.374 MB / 1.276 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/1.341, allocations: 3.188 kB / 1.276 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/1.341, allocations: 70.86 kB / 1.276 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/1.341, allocations: 37.44 kB / 1.276 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/1.345, allocations: 2.466 MB / 1.279 GB, free: 11.14 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.02141/1.367, allocations: 15.52 MB / 1.294 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/1.37, allocations: 1.983 MB / 1.296 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.371, allocations: 1.283 MB / 1.297 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/1.371, allocations: 37.03 kB / 1.297 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/1.373, allocations: 1.359 MB / 1.298 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.695e-06/1.373, allocations: 0 / 1.298 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.00705/1.38, allocations: 3.815 MB / 1.302 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/1.38, allocations: 364.7 kB / 1.302 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02871/1.409, allocations: 20.6 MB / 1.323 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.41, allocations: 81.98 kB / 1.323 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.411, allocations: 1.171 MB / 1.324 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005696/1.412, allocations: 467.1 kB / 1.324 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003447/1.415, allocations: 4.929 MB / 1.329 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/1.415, allocations: 301.1 kB / 1.329 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05514/1.471, allocations: 40.84 MB / 1.369 GB, free: 4.883 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04441/1.515, allocations: 40.09 MB / 1.408 GB, free: 12.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.058/1.573, allocations: 47.73 MB / 1.455 GB, free: 12.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.573, allocations: 4 kB / 1.455 GB, free: 12.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.107/1.68, allocations: 90.97 MB / 1.544 GB, free: 1.234 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003414/1.681, allocations: 197.6 kB / 1.544 GB, free: 1.035 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-05/1.681, allocations: 20 kB / 1.544 GB, free: 1.016 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007271/1.682, allocations: 112.9 kB / 1.544 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/1.685, allocations: 0.6195 MB / 1.545 GB, free: 332 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.688, allocations: 1.558 MB / 1.546 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/1.692, allocations: 395.6 kB / 1.547 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.693, allocations: 158.8 kB / 1.547 GB, free: 14.12 MB / 1.217 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.005357/1.699, allocations: 2.504 MB / 1.549 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.7, allocations: 256.5 kB / 1.549 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/1.707, allocations: 3.489 MB / 1.553 GB, free: 7.906 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.707, allocations: 12 kB / 1.553 GB, free: 7.895 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.707, allocations: 3.938 kB / 1.553 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/1.707, allocations: 7.125 kB / 1.553 GB, free: 7.887 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005486/1.712, allocations: 2.084 MB / 1.555 GB, free: 5.773 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.712, allocations: 3.688 kB / 1.555 GB, free: 5.773 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.713, allocations: 207.8 kB / 1.555 GB, free: 5.582 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/1.714, allocations: 80.77 kB / 1.555 GB, free: 5.5 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/1.714, allocations: 47.97 kB / 1.555 GB, free: 5.453 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/1.717, allocations: 1.541 MB / 1.557 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.717, allocations: 0 / 1.557 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007102/1.724, allocations: 3.348 MB / 1.56 GB, free: 424 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.725, allocations: 0.548 MB / 1.561 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006971/1.726, allocations: 31.91 kB / 1.561 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.728, allocations: 109.2 kB / 1.561 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/1.728, allocations: 97.17 kB / 1.561 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.728, allocations: 71.95 kB / 1.561 GB, free: 15.54 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01292/1.741, allocations: 12.79 MB / 1.573 GB, free: 2.746 MB / 1.232 GB Notification: Performance of sort global known variables: time 6.72e-07/1.741, allocations: 0 / 1.573 GB, free: 2.746 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.008026/1.749, allocations: 1.786 MB / 1.575 GB, free: 0.9648 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.004759/1.754, allocations: 1.013 MB / 1.576 GB, free: 236 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.05176/1.806, allocations: 50.92 MB / 1.626 GB, free: 13.41 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.806, allocations: 6.812 kB / 1.626 GB, free: 13.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004719/1.811, allocations: 2.717 MB / 1.628 GB, free: 10.68 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.815, allocations: 461.6 kB / 1.629 GB, free: 10.23 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03273/1.848, allocations: 21.15 MB / 1.65 GB, free: 5.047 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006883/1.855, allocations: 4.633 MB / 1.654 GB, free: 396 kB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00263/1.857, allocations: 0.6478 MB / 1.655 GB, free: 15.73 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009327/1.858, allocations: 223.4 kB / 1.655 GB, free: 15.52 MB / 1.326 GB Notification: Performance of SimCode: time 1.282e-06/1.858, allocations: 0 / 1.655 GB, free: 15.52 MB / 1.326 GB Notification: Performance of Templates: time 0.2278/2.086, allocations: 59.34 MB / 1.713 GB, free: 4.586 MB / 1.373 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)